On Jan 18, 2011, at 7:38 PM, Dan Bode wrote: > On Tue, Jan 18, 2011 at 7:16 PM, Bostjan Skufca > <bostjan.skufca.w...@gmail.com> wrote: > > I work around this by setting a variable in the node definition if I > > want the client to use an environment other than production by default. > > My puppet client class then uses this variable value as the environment > > value in the clients puppet.conf (via a template) > > This is my current setup too, btw I use two puppet instances which > manage each other (and one manages everything else too). This way it > is way harder to lock yourself out of automation. > > But I want to set it on master for various reasons (mainly security > and node separation, various environments for various clients (not > puppet clients, but company clients) which should not be able to see > other client's stuff by just changing the environment manually). > > if you use an external node classifier, you can set it there. > > http://docs.puppetlabs.com/guides/external_nodes.html
I don't have the bug report on hand, but I believe that this won't lock clients out of files and/or plugins in a different environment. -- 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.