On 20.5.2014, 17:05, jcbollinger wrote:
> 
> 
> On Tuesday, May 20, 2014 7:36:31 AM UTC-5, Henrik Lindberg wrote:
> 
>     This suggests a design that is somewhat inside-out, the idea is that
>     what is *in* the environment defines what you want, not that you inside
>     the environment make decisions based on the name of the environment.
> 
> 
> 
> Agreed, and therein may be the workaround that I couldn't come up with.
> 
> Nevertheless, the observed value of $::environment differs from what the
> docs say it should be in the OP's case.  The only plausible reason for
> Puppet to provide the $::environment variable at all is so that its
> value can influence catalog building, whether directly in manifests or
> by interpolation into hiera hierarchy definitions, or whatever.  It's
> not reasonable to say the variable shouldn't be used according to its
> docs for its apparent intended purpose.
> 
> 

Exactly. As suggested, I'll open a bug report and see what opinions will
there be.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to