Issue #1002 has been updated by luke. Status changed from Accepted to Closed Affected version set to 0.24.4
This should be fixed with Facter 1.5 and Puppet 0.24.5. ---------------------------------------- Bug #1002: factpath must be specified because puppetd does not honour facts in $libdir/facter http://projects.reductivelabs.com/issues/show/1002 Author: Fujin Status: Closed Priority: Normal Assigned to: community Category: unknown Target version: Complexity: Unknown Patch: None Affected version: 0.24.4 Keywords: in 0.24.1, factpath must be specified, even when $libdir (default: /var/lib/puppet/lib) contains a 'facter' folder. I would have naturally assumed that facts in $libdir/facter would be automatically parsed and loaded, but they are not. Please advise if this is desired behaviour (e.g. third party facts are *only* loaded when factpath is specified) or infact a bug. <pre> [EMAIL PROTECTED]:/etc/puppet# puppetd --configprint libdir /var/lib/puppet/lib </pre> <pre> [EMAIL PROTECTED]:/etc/puppet# cat puppet.conf [main] logdir=/var/log/puppet vardir=/var/lib/puppet #factpath=/var/lib/puppet/lib/facter ssldir=/var/lib/puppet/ssl pidfile=/var/run/puppet/$name.pid [puppetd] runinterval=120 pluginsync=true </pre> <pre> [EMAIL PROTECTED]:/var/lib/puppet/lib# find ./facter/ ./facter/ ./facter/interfaces.rb ./facter/netmask.rb ./facter/acpi_available.rb </pre> <pre> [EMAIL PROTECTED]:/var/lib/puppet/lib# puppetd --test --noop info: Retrieving plugins notice: Ignoring cache info: /Exec[/usr/sbin/usermod -p 9E3gV2S6ApjUs root]: Adding aliases "setrootpassword" info: /Exec[/usr/bin/apt-get update]: Adding aliases "aptgetupdate" info: /Exec[/bin/true # require_lsbdistcodename]: Adding aliases "require_lsbdistcodename" info: /Exec[/bin/true # assert_lsbdistcodename]: Adding aliases "assert_lsbdistcodename" info: Caching catalog at /var/lib/puppet/state/localconfig.yaml notice: Starting catalog run 7c7 < #factpath=/var/lib/puppet/lib/facter --- > factpath=/var/lib/puppet/lib/facter notice: //Node[asterisk02]/generic-systems/File[/etc/puppet/puppet.conf]/checksum: is {md5}b8f00560c339013c0881326141f06b8b, should be md5 (noop) notice: //Node[asterisk02]/generic-systems/File[/etc/puppet/puppet.conf]/source: is {md5}b140780858ba536b64ea2af86502e5dc, should be puppet:///files/puppet.conf (noop) notice: //Node[asterisk02]/generic-systems/monit::puppet/Service[monit]/ensure: is stopped, should be running (noop) notice: Finished catalog run in 9.93 seconds </pre> <pre> [EMAIL PROTECTED]:/var/lib/puppet/lib# puppetd --test --noop --factpath=/var/lib/puppet/lib/facter info: Loading fact interfaces info: Loading fact netmask info: Loading fact acpi_available info: Retrieving plugins notice: Ignoring cache info: /Exec[/bin/true # require_lsbdistcodename]: Adding aliases "require_lsbdistcodename" info: /Exec[/bin/true # assert_lsbdistcodename]: Adding aliases "assert_lsbdistcodename" info: /Exec[/usr/bin/apt-get update]: Adding aliases "aptgetupdate" info: /Exec[/usr/sbin/usermod -p 9E3gV2S6ApjUs root]: Adding aliases "setrootpassword" info: Caching catalog at /var/lib/puppet/state/localconfig.yaml notice: Starting catalog run 7c7 < #factpath=/var/lib/puppet/lib/facter --- > factpath=/var/lib/puppet/lib/facter notice: //Node[asterisk02]/generic-systems/File[/etc/puppet/puppet.conf]/checksum: is {md5}b8f00560c339013c0881326141f06b8b, should be md5 (noop) notice: //Node[asterisk02]/generic-systems/File[/etc/puppet/puppet.conf]/source: is {md5}b140780858ba536b64ea2af86502e5dc, should be puppet:///files/puppet.conf (noop) notice: //Node[asterisk02]/generic-systems/monit::puppet/Service[monit]/ensure: is stopped, should be running (noop) notice: Finished catalog run in 6.59 seconds </pre> As you can see, with factpath specified the facts are loaded, yet without it they are not. ---------------------------------------- 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 -~----------~----~----~----~------~----~------~--~---
