I want to set a facter for the current users(root) PATH. The problem is that virtual.rb is always setting the PATH to be ENV["PATH"]="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin" perhaps this file should save the PATH ENV and reset it once its done executing. Is there another way that I should be doing this? thanks, Dan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
2009/1/27 Dan Bode <bodepd@gmail.com>:> I want to set a facter for the current users(root) PATH. The problem is > that virtual.rb is always setting the PATH to be > > ENV["PATH"]="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin" > > perhaps this file should save the PATH ENV and reset it once its done > executing. > > Is there another way that I should be doing this?This sounds like a bug can you file one and we''ll fix - http://projects.reductivelabs.com/projects/facter/issues Thanks Paul --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Paul Nasrat wrote:> 2009/1/27 Dan Bode <bodepd@gmail.com>: >> I want to set a facter for the current users(root) PATH. The problem is >> that virtual.rb is always setting the PATH to be >> >> ENV["PATH"]="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin" >> >> perhaps this file should save the PATH ENV and reset it once its done >> executing. >> >> Is there another way that I should be doing this? > > This sounds like a bug can you file one and we''ll fix - > http://projects.reductivelabs.com/projects/facter/issues >It''s fixed in commit 051c8437586758870e6898918f10a05b217587c0 already. It''ll be in 1.5.3 - out shortly. Cheers James Turnbull - -- Author of: * Pulling Strings with Puppet (http://www.amazon.com/gp/product/1590599780/) * Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) * Hardening Linux (http://www.amazon.com/gp/product/1590594444/) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJfxlN9hTGvAxC30ARAiSXAKC22IzO4YBBaPpXK2xY5tRm5vSBXACeLMEs B2Ij8YGZhqKH3Q6zu4U4fgg=Pomj -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---