Re: [Puppet Users] External Facts in //facts.d/

2015-03-05 Thread Johan De Wit
On 06/03/15 00:31, Josh Cooper wrote: On Thu, Mar 5, 2015 at 3:07 PM, Felix Frank > wrote: On 03/05/2015 11:55 PM, Dan White wrote: --external-dir=//var/lib/puppet/facts.d// Ah. Good catch! It is not a bug. It is an Undocumented

Re: [Puppet Users] External Facts in //facts.d/

2015-03-05 Thread Josh Cooper
On Thu, Mar 5, 2015 at 3:07 PM, Felix Frank wrote: > On 03/05/2015 11:55 PM, Dan White wrote: > > --external-dir=*/var/lib/puppet/facts.d/* > > > Ah. Good catch! > > It is not a bug. It is an Undocumented Feature :D > > > Hah! Well I'm not convinced. UX bugs are still issues. > > Cheers, > Fel

Re: [Puppet Users] External Facts in //facts.d/

2015-03-05 Thread Felix Frank
On 03/05/2015 11:55 PM, Dan White wrote: > --external-dir=/var/lib/puppet/facts.d/ Ah. Good catch! > It is not a bug. It is an Undocumented Feature :D Hah! Well I'm not convinced. UX bugs are still issues. Cheers, Felix -- You received this message because you are subscribed to the Google G

Re: [Puppet Users] External Facts in //facts.d/

2015-03-05 Thread Dan White
Thank for the reminder, Felix I figured out what I was missing: The facts show up in a puppet manifest with no problem, but to get them to show on the facter command line, you need to add : --external-dir=/var/lib/puppet/facts.d/ So, if I do it this way: [user ]# facter --external-dir=/var/li

Re: [Puppet Users] External Facts in //facts.d/

2015-03-05 Thread Felix Frank
Hi Dan, interesting, I think I can reproduce, with facter 2.4.1. Might be a bug. I observe `puppet agent` opening my $vardir/facts.d files (through strace), but not `facter -p`. Cheers, Felix On 02/09/2015 05:41 PM, Dan White wrote: > Puppet 3.7.3 > Facter 2.3.0 > running on RHEL 6 > > Referenc

[Puppet Users] External Facts in //facts.d/

2015-02-09 Thread Dan White
Puppet 3.7.3 Facter 2.3.0 running on RHEL 6 Reference: https://docs.puppetlabs.com/facter/2.2/custom_facts.html#fact-locations  I put a simple fact_file.txt in one of my modules to try this new feature. When I run puppet agent, I see the fact file deployed to /var/lib/puppet/facts.d/ However,