Issue #16789 has been updated by Matthew Nicholson.

So, I didn't think I'd had time to dig in, but lo-and-behold I did and things 
are much improved for me here. I think you can chalk this up to user error. 

I paired down our puppet.conf master side a bit, but, also fixed the needed 
parts o our manifests to allow 3.0 on the masters. As soon as I got all masters 
in our cluster at 3.0 and serving 2.7.x clients and 3.0 clients cleanly, i 
tested the dynamic environments from both and both functioned as expected. 

lesson learned. even with the 3.0 , master before agents! 
----------------------------------------
Bug #16789: server overridding client set environments
https://projects.puppetlabs.com/issues/16789#change-74108

Author: Matthew Nicholson
Status: Needs More Information
Priority: High
Assignee: Matthew Nicholson
Category: environments
Target version: 3.0.x
Affected Puppet version: 3.0.0
Keywords: environment autoritative
Branch: 


Running a 3.0.0 client with a specific environment yields:

[root@nichols2tst ~]# puppet --version
3.0.0
[root@nichols2tst ~]# puppet agent --test --environment=puppet3
Warning: Local environment: "puppet3" doesn't match server specified node 
environment "production", switching agent to "production".

the same results occurs with environment set in the clients puppet.conf

I can verify we ware NOT using a ENC setting environments (node_terminus = 
plain, just nodes.pp for us)

Doing the same on a 2.7.19 client works as expected (the client uses the 
environment specified) 

# References

 * [Puppet Users - environment set by client issues on nodes running 
3.0.0](https://groups.google.com/d/topic/puppet-users/vRL5k2bnKTk/discussion)


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