Displaying 2 results from an estimated 2 matches for "sudoentri".
Did you mean:
sudoentry
2010 Jul 27
0
Augeas working inconsistently
I’ve got this define.
define sudoentry ($user, $host = "ALL", $command = "ALL", $tag = false, $runas = "ALL") {
$sudo_changes = $tag ? {
false => [
"set spec[user = ''$user'']/user $user",
"set spec[user = ''$user'']/host_group/host $host",
"set spec[user =
2010 Nov 19
6
augeas / sudoers
Hello everybody!
How can i create with puppet following sudoers file:
User_Alias CENTREON=apache,nagios
CENTREON ALL = NOPASSWD: /etc/init.d/nagios* restart
CENTREON ALL = NOPASSWD: /etc/init.d/nagios* reload
CENTREON ALL = NOPASSWD: /usr/bin/nagios* -v *
The problem that augeas create only last line, replacing previous one.
--
You received this message because you are subscribed to