I''ve added some custom facts to my Puppet setup but they aren''t being displayed by facter. I''ve tested them and they work correctly when run manually (and I''ve also tried a number of those listed on the wiki) but they aren''t included in facter''s output. I am using the default settings for factdest and factpath and the facts are being copied to /var/lib/puppet/facts with no problems. Any suggestions as to how I should start trying to debug this? It looks like a path problem to me, but I''m not sure where this is set or how to check it. James ********************************************************************************* Important Note This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this email. If you have received this email in error please notify the sender immediately and delete this email. Any views expressed in this email are not necessarily the views of AXA-Tech Australia. Thank you. **********************************************************************************
On Jun 13, 2007, at 7:56 PM, HARRIS Jimmy ((AXA-Tech-AU)) wrote:> I''ve added some custom facts to my Puppet setup but they aren''t being > displayed by facter. I''ve tested them and they work correctly when > run > manually (and I''ve also tried a number of those listed on the wiki) > but > they aren''t included in facter''s output. > > I am using the default settings for factdest and factpath and the > facts > are being copied to /var/lib/puppet/facts with no problems. > > Any suggestions as to how I should start trying to debug this? It > looks > like a path problem to me, but I''m not sure where this is set or > how to > check it.Facter doesn''t know how to look for facts in Puppet''s directory. Set FACTERLIB to that directory and facter should be able to find them. -- Brand''s Asymmetry: The past can only be known, not changed. The future can only be changed, not known. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com