Define node environment on puppet master nodes.pp?

158 views
Skip to first unread message

Will S. G.

unread,
Apr 12, 2012, 6:26:36 PM4/12/12
to puppet...@googlegroups.com
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?

Thanks,
Will

jcbollinger

unread,
Apr 16, 2012, 9:36:55 AM4/16/12
to Puppet Users
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
Reply all
Reply to author
Forward
0 new messages