I have noticed the same thing on CentOS with facter-1.5.2-1.el5.

# puppetd --configprint libdir
/var/lib/puppet/lib

# ls -l /var/lib/puppet/lib/facter/releasever.rb
-rw-r--r-- 1 root root 219 Feb 18 20:02
/var/lib/puppet/lib/facter/releasever.rb
# 

Yet an strace shows that `facter -p releasever' only looks under /usr/lib and
for /var/puppet/lib/facter/releasever{,.rb} or
/var/puppet/facts/releasever{,.rb}.

Iow, `facter -p' doesn't seem to be honoring Puppet's $libdir, evidenced by
the fact that the same strace doesn't show /etc/puppet/puppet.conf being read.

-- 
Jos Backus
jos at catnook.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to