[Puppet Users] Re: Question about best practices for custom facts in puppet

2012-06-22 Thread cdoughty
I actually found a solution indirectly by reading this thread: https://groups.google.com/forum/?fromgroups#!topic/puppet-users/Qoao9GMarRs I create a custom fact ONLY on the machine with DHCP by copying the ruby script directly to: /var/lib/puppet/lib/facter/ Then all nodes have a pre-stage wher

[Puppet Users] Re: Question about best practices for custom facts in puppet

2012-06-22 Thread cdoughty
Hi John, thanks for your reply. That was helpful in confirming our findings so far. I also realize though that I wasn't very clear with my description in my ultimate goal. We only want to access this hypothetical property "dhcpd_server_rule=true" through facter, specifically by using mcollect

[Puppet Users] Re: Question about best practices for custom facts in puppet

2012-06-22 Thread jcbollinger
On Thursday, June 21, 2012 5:34:00 PM UTC-5, cdoughty wrote: > > We're running puppet 2.7.11 and facter 1.6.1. We're at a point where we > need to start having some custom facts for our environment but we're not > sure the best way to go around it, so I'm looking for feedback from the > commu