Displaying 2 results from an estimated 2 matches for "sudo_chang".
Did you mean:
sudo_changes
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 = ''$user'']/host_group/command ''$command...
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