blob: 6b5fe6b24ca4a4a8730d41f44c87c308bd8a0e88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
class profiles::sudo {
file { '/etc/sudoers':
validate_cmd => '/usr/bin/visudo -cf %',
content => @(EOF)
Defaults insults
root ALL=(ALL) ALL
%root ALL=(ALL) ALL
%wheel ALL=(ALL) ALL
@includedir /etc/sudoers.d
| EOF
}
file { '/etc/sudoers.d':
ensure => directory,
}
}
|