Displaying 1 result from an estimated 1 matches for "node_env".
Did you mean:
node_end
2012 Aug 17
4
Default node
...node before they are
matching the more specific nodes. My site.pp has:
include "nodes/*.pp"
In the nodes directory are two files, default.pp and nagios_server.pp.
default.pp:
node default {
include role::common
}
nagios_server.pp:
node ''mon01.us1.xxx.com'' {
$node_env = "production"
include nagios::plugins
include nagios::server
}
Puppet is finding the default on mon01.us1.xxx.com. If I comment out
the lines in default.pp, it goes to mon01.us1.bitcasa.com. Shouldn''t
it use the default node last?
Doug.
--
You received this message b...