diff options
author | Michael Scherer <misc@mageia.org> | 2012-02-09 15:35:52 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-02-09 15:35:52 +0000 |
commit | c1bf591f8c29e31b134f32666d63846f4b3ee1d2 (patch) | |
tree | d50f81ad0332f51c11646edcf88efd2fdcb4d368 | |
parent | 1d1cc0f58df6efac01022591b7ece7e2350a1f87 (diff) | |
download | puppet-c1bf591f8c29e31b134f32666d63846f4b3ee1d2.tar puppet-c1bf591f8c29e31b134f32666d63846f4b3ee1d2.tar.gz puppet-c1bf591f8c29e31b134f32666d63846f4b3ee1d2.tar.bz2 puppet-c1bf591f8c29e31b134f32666d63846f4b3ee1d2.tar.xz puppet-c1bf591f8c29e31b134f32666d63846f4b3ee1d2.zip |
make puppet-lint happier ( but still some issue ) on sudo module
-rw-r--r-- | modules/sudo/manifests/init.pp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/sudo/manifests/init.pp b/modules/sudo/manifests/init.pp index c2696e23..3fb5d527 100644 --- a/modules/sudo/manifests/init.pp +++ b/modules/sudo/manifests/init.pp @@ -1,19 +1,19 @@ class sudo { - package { sudo: } + package { 'sudo': } - file { "/etc/sudoers.d": + file { '/etc/sudoers.d': ensure => directory, - mode => 711, + mode => '0711', } - file { "/etc/sudoers": - mode => 440, - content => template("sudo/sudoers") + file { '/etc/sudoers': + mode => '0440', + content => template('sudo/sudoers'), } define sudoers_config($content) { file { "/etc/sudoers.d/$name": - mode => 440, + mode => '0440', content => $content, } } |