Issue #17383 has been updated by Andrew  Parker.

Description updated
Status changed from Unreviewed to Closed

Based on the descriptions of the problem and the resolutions, this is most 
likely an issue with the agent loading new facter code which is not compatible 
with older facter code that is already loaded into the process. If the program 
on disk is going to change and we are going to load in code lazily (which is 
how facter loads facts), then this will occur. What that means is that updating 
facter necessitates a restart of a running puppet daemon. The package can't do 
that restart since this is an issue of the facter code changing and that 
package should restart the puppet daemon.
----------------------------------------
Bug #17383: Could not retrieve local facts: undefined method 
`kernel_fact_value' for Facter::Util::Processor:Module
https://projects.puppetlabs.com/issues/17383#change-75655

Author: Anand Kumria
Status: Closed
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.

Reply via email to