Displaying 2 results from an estimated 2 matches for "sudoers_".
Did you mean:
sudoers
2011 Aug 05
5
Variable scope when having node inheritance
...default {
$sudoenv = ''default''
include sudoers::config
}
class sudoers::config {
file { "/etc/sudoers":
ensure => file,
owner => "root",
group => "root",
mode => 440,
source => "puppet:///modules/sudoers/sudoers_
$sudoenv",
}
}
I have then created to files: sudoers_default and
sudoers_custom_server
I want to have a default sudoers file on most of my servers, but on a
few others, I need a different one, but on serverA I only get the
sudoers_default file. I have tried to create it as a template (stil...
2011 Jun 17
5
ssh_authorized_key and NIS user
...#39;'refresh'' from 1 events
Jun 17 14:15:41 node016 puppet-agent[1109]:
(/Stage[main]/All/File[/etc/yp.conf]/ensure) defined content as
''{md5}9c23d37f431c0788c212d3c0ab8a48af''
Jun 17 14:15:58 node016 puppet-agent[1109]:
(/Stage[main]/All/All::Append_if_no_such_line[sudoers_nagios_smartctl]/Exec[/bin/echo
''nagios ALL=(root) NOPASSWD: /usr/sbin/smartctl'' >> ''/etc/sudoers'']/returns)
executed su
ccessfully
Jun 17 14:17:03 node016 puppet-agent[1109]: (/Stage[main]//Package[nis]/ensure)
ensure changed ''purged'' t...