aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sudo/manifests
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2010-11-09 23:13:19 +0000
committerNicolas Vigier <boklm@mageia.org>2010-11-09 23:13:19 +0000
commit5a6d8a9920af733fe47f909c7d8aa94cd42a6708 (patch)
tree85642d68c6719d15d6df8f61b7dff32de97361b2 /modules/sudo/manifests
parent6996780cd958806e97c6929f3d3b47dcce64ede4 (diff)
downloadpuppet-5a6d8a9920af733fe47f909c7d8aa94cd42a6708.tar
puppet-5a6d8a9920af733fe47f909c7d8aa94cd42a6708.tar.gz
puppet-5a6d8a9920af733fe47f909c7d8aa94cd42a6708.tar.bz2
puppet-5a6d8a9920af733fe47f909c7d8aa94cd42a6708.tar.xz
puppet-5a6d8a9920af733fe47f909c7d8aa94cd42a6708.zip
fix permissions on sudoers files
Diffstat (limited to 'modules/sudo/manifests')
-rw-r--r--modules/sudo/manifests/init.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/sudo/manifests/init.pp b/modules/sudo/manifests/init.pp
index 3c175393..93ebc249 100644
--- a/modules/sudo/manifests/init.pp
+++ b/modules/sudo/manifests/init.pp
@@ -5,7 +5,7 @@ class sudo {
file { "/etc/sudoers.d":
ensure => directory,
- mode => 700,
+ mode => 711,
owner => root,
group => root,
}
@@ -14,7 +14,7 @@ class sudo {
ensure => present,
owner => root,
group => root,
- mode => 600,
+ mode => 440,
content => template("sudo/sudoers")
}
}