saz / puppet-sudo

Manage sudo with Puppet on Debian-, RedHat- and SUSE-based linux distributions and some BSDs
Other
105 stars 215 forks source link

Setting 'sudo' class parameters using yaml #114

Closed hraphrap closed 9 years ago

hraphrap commented 9 years ago

If I describe configuration via yaml files, i can't set sudo class parameters (here I want not to replace default configuration file /etc/sudoers). But i can't configure it through yaml.

sudo:
    config_file_replace: false
sudo::configs:
    hraphrap:
        content: "hraphrap    ALL=(ALL) NOPASSWD: ALL"

in node definition:

include sudo

puppet v3+

hraphrap commented 9 years ago

Sorry, please, close the issue. If I want to set top class parameters, i can use syntax like this:

sudo::config_file_replace: false