On Tue, Oct 18, 2011 at 6:57 AM, R.I.Pienaar <[email protected]> wrote:

>
>
> ----- Original Message -----
> >
> >
> > On Oct 17, 10:23 am, Mohamed Lrhazi <[email protected]> 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.



-- 
Nigel Kersten
Product Manager, Puppet Labs

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to