On Apr 12, 5:26 pm, "Will S. G." <w...@arw.in> wrote: > Hello, > > Is there a way to define an environment for the prospective nodes in > nodes.pp (maybe a default node?) I'd like to be able to define it there and > then have my puppet module configure the node puppet.conf (erb template) > based on the parameters that’s passed on from the master. Possible?
If present, the special node name "default" will match any node that is not matched by another node definition (including one actually named "default", if there is any). I'm having trouble seeing how that will actually help you, though, because you have to have Puppet already running on the client. Also, it is tricky (but I think possible) to make Puppet reconfigure itself in such a way that future runs would select a different node definition. You would need to deal with installing the corresponding cryptographic certificate. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.