sudo for backports
[mirror/dsa-puppet.git] / modules / sudo / manifests / init.pp
1 class sudo {
2         package { sudo: ensure => installed }
3
4         file { "/etc/sudoers":
5                 owner   => root,
6                 group   => root,
7                 mode    => 440,
8                 source  => [ "puppet:///modules/sudo/per-host/$fqdn/sudoers",
9                              "puppet:///modules/sudo/common/sudoers" ],
10                 require => Package["sudo"]
11                 ;
12                "/etc/pam.d/sudo":
13                 source  => [ "puppet:///modules/sudo/per-host/$fqdn/pam",
14                              "puppet:///modules/sudo/common/pam" ],
15                 require => Package["sudo"]
16                 ;
17
18         }
19 }
20 # vim:set et:
21 # vim:set sts=4 ts=4:
22 # vim:set shiftwidth=4: