Issue #3653 has been updated by James Turnbull. Category set to plumbing Status changed from Closed to Ready for Testing Assigned to set to James Turnbull Target version set to 0.25.6 Keywords changed from facter plugins to facter plugins factpath Branch set to http://github.com/jamtur01/puppet/tree/bug/0.25.x/3653
Fixed by adding: <pre> factpath = $vardir/lib/facter </pre> to puppet.conf I've pushed a patch that adds this as the default value for factpath - not sure why it isn't already. ---------------------------------------- Bug #3653: facts from plugins not working http://projects.puppetlabs.com/issues/3653 Author: Scott Beardsley Status: Ready for Testing Priority: Normal Assigned to: James Turnbull Category: plumbing Target version: 0.25.6 Affected version: 0.25.4 Keywords: facter plugins factpath Branch: http://github.com/jamtur01/puppet/tree/bug/0.25.x/3653 I'm attempting to create a simple fact as a plugin and I'm getting strange errors. My configuration directory structure looks like: /etc/puppet/modules/syslog/ lib/ facter/ meh.rb templates/ syslog.conf.erb manifests/ init.pp I've attached the above files and a couple logs (master.log and client.log is the debug output from the puppetmasterd and puppetd respectively). This bug was first reported on the puppet-users list[1]. When I run `facter --puppet|grep meh` on the client I get the correct output but `facter|grep meh` doesn't show it. $ facter --puppet|grep meh meh => foo $ facter|grep meh $ I'm using 0.25.4 on CentOS 5. Thanks, Scott ------------- [1]: http://groups.google.com/group/puppet-users/browse_thread/thread/c7f754626bf9c65e -- 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.
