diff options
author | Michael Scherer <misc@mageia.org> | 2011-01-13 18:12:28 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-01-13 18:12:28 +0000 |
commit | ed5b011b1cfd7b49b6dab4279f3e4386423d17bf (patch) | |
tree | 55579031ce50006a3b992aa3821cba59c0008b7b /modules/bcd | |
parent | cc8a8c5e2ed8cf593c93c76daf9561988c167a26 (diff) | |
download | puppet-ed5b011b1cfd7b49b6dab4279f3e4386423d17bf.tar puppet-ed5b011b1cfd7b49b6dab4279f3e4386423d17bf.tar.gz puppet-ed5b011b1cfd7b49b6dab4279f3e4386423d17bf.tar.bz2 puppet-ed5b011b1cfd7b49b6dab4279f3e4386423d17bf.tar.xz puppet-ed5b011b1cfd7b49b6dab4279f3e4386423d17bf.zip |
use the new sudo::sudoers_config define
Diffstat (limited to 'modules/bcd')
-rw-r--r-- | modules/bcd/manifests/init.pp | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/modules/bcd/manifests/init.pp b/modules/bcd/manifests/init.pp index 3ef04c12..d2a8d13f 100644 --- a/modules/bcd/manifests/init.pp +++ b/modules/bcd/manifests/init.pp @@ -9,18 +9,15 @@ class bcd { include sudo buildsystem::sshuser { $bcd_login: - homedir => $bcd_home, - comment => "User for creating ISOs", - } + homedir => $bcd_home, + comment => "User for creating ISOs", + } - package { bcd: - ensure => 'installed', - } + package { bcd: + ensure => 'installed', + } - file { "/etc/sudoers.d/bcd": - owner => root, - group => root, - mode => 440, + sudo::sudoers_config { "bcd": content => template("bcd/sudoers.bcd") } } |