Issue #16275 has been reported by Patrick Carlisle.

----------------------------------------
Bug #16275: $environment in manifests is wrong when an enc overrides local 
environment
https://projects.puppetlabs.com/issues/16275

Author: Patrick Carlisle
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 3.0.0-rc5
Keywords: 
Branch: 


Reported in <http://projects.puppetlabs.com/issues/3910#note-82>

special.pp:

    notify { "Real environment is 'special', environment variable is: 
$environment": }

output

    $ puppet agent -t
    ...
    Warning: Local environment: "production" doesn't match server specified 
node environment "special", switching agent to "special".
    ...
    Real environment is 'special', environment variable is: production
    /Stage[main]//Notify[Real environment is 'special', environment variable 
is: production]/message: defined 'message' as 'Real environment is 'special', 
environment variable is: production'
    


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to