Issue #12879 has been updated by Charlie Sharpsteen.
May not be the full story, but this is reproducible when running facter on a machine with multiple versions installed---similar to what Chris Moser reported. For example, on Ubuntu with Facter installed from the PuppetLabs APT repository and a local git clone running under `envpuppet`: <pre> root@ubuntuagent:~# facter Error: undefined method `kernel_fact_value' for Facter::Util::Processor:Module </pre> Then if I remove the version installed through APT: <pre> root@ubuntuagent:~# apt-get remove facter Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libshadow-ruby1.8 libaugeas0 ruby-json libruby ruby libaugeas-ruby1.8 hiera libjson-ruby augeas-lenses Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: facter puppet puppet-common ...and so on root@ubuntuagent:~# facter No LSB modules are available. architecture => i386 augeasversion => 0.10.0 ...many more facts </pre> And if I re-install Facter, the problem returns: <pre> root@ubuntuagent:~# apt-get install facter Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: facter ...blah blah Setting up facter (1.6.17-1puppetlabs1) ... root@ubuntuagent:~# facter Error: undefined method `kernel_fact_value' for Facter::Util::Processor:Module </pre> Similar behavior occurs on CentOS with yum. So, this definitely looks like some sort of library loading issue. ---------------------------------------- Bug #12879: undefined method `has_openstack_mac?' for Facter::Util::EC2:Module https://projects.puppetlabs.com/issues/12879#change-84545 Author: Chip Schweiss Status: Investigating Priority: High Assignee: Category: library Target version: Keywords: Branch: Affected Facter version: 1.6.6 This is on CentOS 6.2 w/ Puppet 2.6.14-1.el6 both from the Puppet yum repository. The problem is only occurring in daemon mode of puppet. This is in the syslog repeatedly: <pre> Feb 29 08:14:55 hostname puppet-agent[21815]: Could not run Puppet configuration client: Could not retrieve local facts: undefined method `has_openstack_mac?' for Facter::Util::EC2:Module </pre> I've checked on several systems and it appears to be a bug introduced in 1.6.6-1. The last successful run in the logs contains: <pre> Feb 28 14:55:18 hostname puppet-agent[21815]: (/Stage[puppet]/Facter/Package[facter]/ensure) ensure changed '1.6.5-1.el6' to '1.6.6-1.el6' </pre> -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
