On 05/06/2014 02:38 PM, Brian Mathis wrote:
This applies to facter version 1.7 and above. See docs: http://docs.puppetlabs.com/guides/custom_facts.html#external-factsYou can create a file like this (the name does not matter): /etc/facter/facts.d/myfacts.txt: hostname=value Then when you run 'facter hostname', "value" will be returned.
Thank you! -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/53695BD5.3080704%40gmail.com. For more options, visit https://groups.google.com/d/optout.
