----- Original Message ----- > > > > On Tue, Oct 18, 2011 at 6:57 AM, R.I.Pienaar < r...@devco.net > wrote: > > > > > > ----- Original Message ----- > > > > > > On Oct 17, 10:23 am, Mohamed Lrhazi < lrh...@gmail.com > wrote: > > > - When the master calls my ENC, it knows what the environment of > > > the > > > client is, regardless of where it got it from, right? > > > > No, it doesn't, and it can't. That's one of the things the ENC is > > permitted to decide. The master knows what environment the client > > *claims* to be in, if any, and it knows the default environment, > > but > > it cannot predict what environment the ENC will assert for the > > node, > > if any. If the ENC asserts an environment then that wins. > > on paper yes, but it doesnt work that way. > > there's a bug, the only place to reliably put the environment now is > on > the node in puppet.conf. > > > > > Note that an agent-side fact $environment also works here. >
I found this problematic too - you get the mix of code from one environment and files from another. -- R.I.Pienaar -- 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.