All the custom facts here in /etc/facter/facts.d have worked just fine across 
the facter 2.4.4 -> facter 3.1.6 upgrade.

https://docs.puppet.com/facter/3.1/custom_facts.html

On Fri, May 27, 2016 at 12:28:50PM -0700, dkoleary wrote:
>    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 [1]puppet-users+unsubscr...@googlegroups.com.
>    To view this discussion on the web visit
>    
> [2]https://groups.google.com/d/msgid/puppet-users/a9867381-4b0d-457e-aea3-173730ac86cf%40googlegroups.com.
>    For more options, visit [3]https://groups.google.com/d/optout.
> 
> References
> 
>    Visible links
>    1. mailto:puppet-users+unsubscr...@googlegroups.com
>    2. 
> https://groups.google.com/d/msgid/puppet-users/a9867381-4b0d-457e-aea3-173730ac86cf%40googlegroups.com?utm_medium=email&utm_source=footer
>    3. https://groups.google.com/d/optout

-- 
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/20160527203839.GA22243%40iniquitous.heresiarch.ca.
For more options, visit https://groups.google.com/d/optout.

Reply via email to