Douglas Garstang wrote:
So... in puppet.conf on the puppet master, there's the external_nodes
setting, which defines the location of the external nodes script. If I
am using multiple environments, I guess I have to have ONE set of
external nodes since external_nodes in puppet.conf is set ONCE, right?
That is correct. If you want different node classifier scripts
per environment, you have to code around it by having a "wrapper"
classifier that just looks at the requested environment and then
executes the environment-specific classifier.
I think what you want is perfectly reasonable. Indeed, I have
a hard time understanding why anyone *wouldn't* want it, since
otherwise you can't test a new version of the classifier in a
test environment without risking breaking production. But, alas,
that is not to be.
(I believe the only way for the global classifier to find out
which environment the client requests, is to read and parse the
/var/lib/puppet/yaml/facts/HOSTNME.yaml file. But I'm not sure.
I don't use an external node classifier myself, and I'll do my
best to not need it ever.)
/Bellman
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.