Issue #17383 has been updated by Felix Barbeira.
Same issue in a Ubuntu 10.04 LTS after upgrade the package facter from:
1.6.13-1puppetlabs1 - everything works fine.
to:
facter 1.6.14-1puppetlabs1
Returns this error:
err Could not retrieve local facts: undefined method `kernel_fact_value'
for Facter::Util::Processor:Module
err Failed to apply catalog: Could not retrieve local facts: undefined
method `kernel_fact_value' for Facter::Util::Processor:Module
If I execute the puppet agent manually in a console of the host that is
reporting a failure seems like everything works correctly:
root@host:~# puppet agent -t
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/iptables.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Caching catalog for vls100.dinaserver.com
Info: Applying configuration version '1351871464'
Finished catalog run in 2.70 seconds
root@host:~#
It looks like it only affects executing the manifests through a puppetmaster,
not in local.
----------------------------------------
Bug #17383: Could not retrieve local facts: undefined method
`kernel_fact_value' for Facter::Util::Processor:Module
https://projects.puppetlabs.com/issues/17383#change-75630
Author: Anand Kumria
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Keywords: undefined, method
Branch:
Affected Facter version: 1.6.14
With facter 1.6.14 installed, I receive the following messages:
Nov 2 05:43:09 xxx puppet-agent[4012]: Could not retrieve local facts:
undefined method `kernel_fact_value' for Facter::Util::Processor:Module
Nov 2 05:43:09 xxx puppet-agent[4012]: Failed to apply catalog: Could not
retrieve local facts: undefined method `kernel_fact_value' for
Facter::Util::Processor:Module
This message does not occur with facter 1.6.13
# dpkg -l | grep puppet
ii facter 1.6.14-1puppetlabs1 Ruby
module for collecting simple facts abou
ii hiera 1.1.0-1puppetlabs1 A simple
pluggable Hierarchical Database.
ii puppet 3.0.1-1puppetlabs1
Centralized configuration management - agent
ii puppet-common 3.0.1-1puppetlabs1
Centralized configuration management
--
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.