[Puppet Users] Re: Facter scripts and shell environment variables

2012-08-23 Thread André Fernandes
I'm running facter 1.5.8, could this be a bug or am I misinterpreting something? On Thursday, August 16, 2012 3:43:57 PM UTC+2, jcbollinger wrote: > > > > On Wednesday, August 15, 2012 4:12:52 AM UTC-5, André Fernandes wrote: >> >> I'm currently running a puppet maste

[Puppet Users] Facter scripts and shell environment variables

2012-08-15 Thread André Fernandes
I'm currently running a puppet master-client setup and using facter to gather information on the client hosts. However, I've run into a problem when trying to get the deployed apache version for some of the hosts. My custom fact script is as follows: Facter.add("apache_version") do setcode do

[Puppet Users] facter: setting up module-specific custom facts?

2012-08-15 Thread André Fernandes
I am customizing an existing puppet installation (with facter) and I think I ran into an issue understanding the scope of custom facts. I have several modules that are mapped exclusively to different classes of hosts within a nodes.pp file. What I'd like to achieve would be to have custom fac