anyone using Puppet for configuration management?

Lonni J Friedman netllama at gmail.com
Tue Sep 3 15:06:03 PDT 2013


I'm trying to get ramped up on Puppet ( http://www.puppetlabs.com ),
and I'm encountering some strange behavior with the node definitions.
>From the documentation, I thought that the 'default' node was a
catchall for any node which wasn't explicitly matched elsewhere.
However, what I'm seeing is that the default seems to apply even where
there is an exact match.  For example, I have the following in
site.pp:

#########
import "services/*"
node "cuda-farm-ljf1" {
        include hello
}
node default {
        include ntp
}
#########


What I'd expect is that the 'ntp' class will *not* apply to the
'cuda-farm-ljf1' node, however that isn't the behavior that I'm
seeing.  Even if I completely uninstall ntp on that node, its
reinstalled & started the next time it syncs with the master.  Am I
missing something obvious here?

thanks


More information about the Linux-users mailing list