Displaying 1 result from an estimated 1 matches for "sudoenv".
Did you mean:
sudden
2011 Aug 05
5
Variable scope when having node inheritance
Hi
I''m having some trouble with the following setup:
node ''serverA'' inherits server-defaults {
include myApp::install
}
node ''server-defaults'' inherits default {
$sudoenv = ''custom_server''
}
node default {
$sudoenv = ''default''
include sudoers::config
}
class sudoers::config {
file { "/etc/sudoers":
ensure => file,
owner => "root",
group => "root",
mode => 440,
s...