Issue #1901 has been updated by jamtur01. Status changed from Unreviewed to Duplicate Target version set to 1.5.3
Already fixed in commit:"051c8437586758870e6898918f10a05b217587c0" in branch master. ---------------------------------------- Bug #1901: virtual.rb overrides user PATH http://projects.reductivelabs.com/issues/1901 Author: bodepd Status: Duplicate Priority: Normal Assigned to: Category: Target version: 1.5.3 Complexity: Unknown Keywords: environment path facter virual.rb virtual.rb has the line ENV["PATH"]="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin" this causes the PATH in facter to always be this hard-coded one. This function to return the PATH to normal when its finished. I want to create a fact for EVN PATH # add a fact with the current path Facter.add(:env_path) do setcode do ENV['PATH'] end end this will not work, because it just shows the hardcoded path. ---------------------------------------- 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 -~----------~----~----~----~------~----~------~--~---
