On Tuesday, September 16, 2014 4:44:32 AM UTC-5, Jonathan Gazeley wrote: > > Overnight my Facter seems to reporting new errors. As far as I can see, > neither Puppet, Facter, MCollective or the facts in question were > updated, so I'm struggling to find a cause. The problem as exacerbated > because MCollective is emailing me with the same error every 15 minutes. > > This error is printed when I run facter: > > Error loading fact /var/lib/puppet/lib/facter/warranty.rb: no such file > to load -- facter/util/warranty > > The fact is provided by this module (my module, but not my code) > > https://forge.puppetlabs.com/jgazeley/dell > > The file /var/lib/puppet/lib/facter/warranty.rb does exist on my system > and is readable as is the referenced submodule in > /var/lib/puppet/lib/facter/util/warranty.rb , so I am not sure what is > causing the problem. >
Alternatively, you may want to check more thoroughly whether /var/lib/puppet/lib/facter/util/warranty.rb is in fact readable *to Puppet* in the relevant context. In addition to the ordinary permission bits, it is possible that POSIX ACLs or mandatory access controls (i.e. SELinux) might prevent access to the file from the Puppet agent. For SELinux, it could be that even though the relevant user (probably root) can read the file under other circumstances, the agent still cannot. And switching SELinux from permissive to enforcing mode is something that can be done quickly and easily without rebooting, perhaps even automatically, and not necessarily with full comprehension of its effects. John -- 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/8798dd99-2a32-4ce5-9b7f-cbc486322fd1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.