Hey;

I'm drafing some custom facts that I would like to have available to 
everyone even outside of puppet.  The facts themselves work just fine for 
root and will work for normal users if I specify the --external-dir option:

$ sudo facter env                                     
tst
$ facter --external-dir=/opt/puppetlabs/facter/facts.d env
tst

Without that, facter run as a normal user doesn't find the script. Is there 
a config file somewhere that I can specify, globally, that custom facts are 
in /opt/puppetlabs/facter/facts.d or a default global directory (facter 
--debug doesn't seem to show one...)? Alternatively, I could set an alias 
in /etc/profile so everyone gets it but that seems like a bit of a kludge.

Any info is appreciated.

Thanks

Doug O'Leary

-- 
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/a9867381-4b0d-457e-aea3-173730ac86cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to