puppet - node definition is not being enforced -
i'm trying ramped on puppet (2.7.x), i'm encountering strange behavior node definitions. documentation, thought 'default' node catchall node wasn't explicitly matched elsewhere. however, i'm seeing default seems apply there exact match. example, have following in site.pp:
import "services/*" node "cuda-farm-ljf1" { include hello } node default { include ntp }
the thing in hello.pp is:
class hello { notify { "hello test": } }
what i'd expect 'ntp' class not apply 'cuda-farm-ljf1' node, isn't behavior i'm seeing. if uninstall ntp on node, reinstalled & started next time syncs master. missing obvious here?
yes, missing obvious... when include classes under node default
applies puppet client machines. learn more node default
.
http://docs.puppetlabs.com/puppet/2.7/reference/lang_node_definitions.html
Comments
Post a Comment