Issue #1964 has been updated by luke.

Status changed from Accepted to Ready for Checkin
Assigned to changed from luke to jamtur01


----------------------------------------
Bug #1964: Per-module facts not loaded when using "puppet" standalone executable
http://projects.reductivelabs.com:80/issues/1964

Author: grim_radical
Status: Ready for Checkin
Priority: Normal
Assigned to: jamtur01
Category: plumbing
Target version: 0.24.8
Complexity: Easy
Affected version: 0.24.7
Keywords: 


I have a module, and inside I've got a "plugins/facter" directory with some 
custom facts in it. When I run "puppet" (the standalone executable, with an 
appropriate modulepath argument), it does not automatically load facts from 
that directory. If I were using factsync/puppetd, then this would work fine. 
But this fails in standalone mode.

The problem appears to be inside indirector/facts/facts.rb...it only loads 
facts found on Puppet[:factpath].

I've attached a small patch that modifies the loadfacts method to also load 
facts from per-module fact directories, which corrects the behavior.


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