loglevel warn is default
[mirror/dsa-puppet.git] / modules / sudo / manifests / init.pp
1 class sudo {
2
3         package { 'sudo':
4                 ensure => installed
5         }
6
7         file { '/etc/pam.d/sudo':
8                 source  => 'puppet:///modules/sudo/pam',
9                 require => Package['sudo'],
10         }
11
12         file { '/etc/sudoers':
13                 mode    => '0440',
14                 source  => [ "puppet:///modules/sudo/sudoers.${::lsbdistcodename}",
15                         'puppet:///modules/sudo/sudoers' ],
16                 require => Package['sudo'],
17         }
18 }