/[adm]/puppet/modules/sudo/manifests/init.pp
ViewVC logotype

Contents of /puppet/modules/sudo/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2209 - (show annotations) (download)
Sun Jan 8 20:45:17 2012 UTC (12 years, 3 months ago) by misc
File size: 374 byte(s)
cleaning of the sudo module
1 class sudo {
2 package { sudo: }
3
4 file { "/etc/sudoers.d":
5 ensure => directory,
6 mode => 711,
7 }
8
9 file { "/etc/sudoers":
10 mode => 440,
11 content => template("sudo/sudoers")
12 }
13
14 define sudoers_config($content) {
15 file { "/etc/sudoers.d/$name":
16 mode => 440,
17 content => $content,
18 }
19 }
20 }

  ViewVC Help
Powered by ViewVC 1.1.30