Issue #2787 has been updated by Brice Figureau.

Allan Marcus wrote:
> I see where you made the changes, but I don't quite understand how to "get a 
> patch" and apply it. I'm new to GIT, so please excuse my ignorance. If you 
> would, can you please walk me through this process once, then I will know how 
> to do it in the future.

The important part is only 4 lines (the plused ones), so you can add them by 
hand to the correct file if you prefer.

James solution is certainly the simplest one, but if you want the full git 
experience:

# git clone git://github.com/masterzen/puppet.git masterzen-puppet
# cd masterzen-puppet
# git checkout tickets/0.25.x/2787

You're then in a source tree matching 0.25.1 and containing this fix.
>From there you can:

 * use this tree directly to test the behavior
or

 * copy the patched file to your regular puppetmaster and see if that solves 
the issue

Hope that helps,
----------------------------------------
Bug #2787: hosts.environment not updating in stor-config db
http://projects.reductivelabs.com/issues/2787

Author: Allan Marcus
Status: Ready for Testing
Priority: Normal
Assigned to: Brice Figureau
Category: plumbing
Target version: 
Affected version: 0.25.1
Keywords: 
Branch: 


I'm not seeing the hosts.environment data field update when I switch 
environments for a node. The environment fact is correct, but the 
hosts.environment field is not being updated.

Client and server are Mac OS X.
Database is MySQL
using puppet 0.25.1 on both sides.


-- 
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://reductivelabs.com/redmine/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