diff --git a/manifests/configs.pp b/manifests/configs.pp index 39cfaa3..287764d 100644 --- a/manifests/configs.pp +++ b/manifests/configs.pp @@ -1,27 +1,27 @@ # Class: sudo::configs # # This class enables support for a full hiera based sudoers configuration. # Hiera functionality is auto enabled during the initial sudo module load; # this class is not intended to be loaded directly. # # See the primary sudo module documentation for usage and examples. # class sudo::configs ( $configs_hash = {}, ){ validate_hash ( $configs_hash ) # NOTE: hiera_hash does not work as expected in a parameterized class # definition; so we call it here. # # http://docs.puppetlabs.com/hiera/1/puppet.html#limitations # https://tickets.puppetlabs.com/browse/HI-118 # $configs = hiera_hash('sudo::configs', $configs_hash) if !empty($configs) { - create_resources('::sudo::conf', $configs) + create_resources('sudo::conf', $configs) } } diff --git a/metadata.json b/metadata.json index 01dddb7..1da719b 100644 --- a/metadata.json +++ b/metadata.json @@ -1,24 +1,24 @@ { "name": "saz-sudo", "version": "3.0.10", "author": "saz", "license": "Apache-2.0", "summary": "Manage sudo configuration via Puppet", "source": "https://github.com/saz/puppet-sudo", "project_page": "https://forge.puppetlabs.com/examplecorp/mymodule", "issues_url": "https://github.com/saz/puppet-sudo/issues", "tags": ["sudo"], "operatingsystem_support": [ { "operatingsystem":"RedHat", "operatingsystemrelease":[ "5.0", "6.0" ] }, { "operatingsystem": "Ubuntu", "operatingsystemrelease": [ "12.04", "10.04", "14.04" ] } - ], + ], "dependencies": [ { "name": "puppetlabs/stdlib", "version_requirement": ">=2.3.0 <5.0.0" } ] }