On Oct 18, 2011, at 8:07 AM, Nigel Kersten wrote:

> 
> 
> 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. 
----
tastes great, less filling

Being able to definitively set the environment at the ENC and actually have it 
work is a very desirable concept.

Craig

-- 
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.

Reply via email to