Hi,

If I do a clean install of CentOS 7 with facter and puppet, my puppet fails 
with 

puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Error: Could not retrieve local facts: undefined method `hostname' for 
Facter:Module
Error: Failed to apply catalog: Could not retrieve local facts: undefined 
method `hostname' for Facter:Module


rpm -qa puppet
puppet-3.8.1-1.el7.noarch
rpm -qa facter
facter-2.4.4-1.el7.x86_64

If i run facter hostname it works fine.  If I run puppet facts find 
<hostname>
Error: Could not call 'find' on 'facts': undefined method `hostname' for 
Facter:Module
Error: Could not call 'find' on 'facts': undefined method `hostname' for 
Facter:Module
Error: Try 'puppet help facts find' for usage


If I downgrade facter to 1.7.x then it works fine.


If I  perform the same process on Fedora 22 which has 

rpm -qa facter
facter-2.4.1-1.fc22.x86_64
rpm -qa puppet
puppet-4.1.0-1.fc22.noarch


It works fine.

Has anyone got any suggestions ?

Thanks

Phil.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/86d2bf02-7152-4a9a-bd25-9645fbaab7d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to