blob: 9249379e94502db8dc0e72b6005abda3165287a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class nodo::subsystem::sudo {
package { "sudo":
ensure => "present",
}
file { "/etc/sudoers":
source => [ "puppet:///modules/site_nodo/etc/sudoers/hostname/${::hostname}",
"puppet:///modules/site_nodo/etc/sudoers/domain/${::domain}",
"puppet:///modules/nodo/etc/sudoers" ],
owner => "root",
group => "root",
mode => 440,
require => Package["sudo"],
}
}
|