Re: [Puppet Users] Re: Cron job isn't running

2012-04-21 Thread Dave Burkholder
No problem at all, Gabriel. These machines are running a firewall distro and have multiple NICs so that's why I need the custom facter for getting the correct IP. On Apr 21, 2012 6:54 PM, "Gabriel Filion" wrote: > Hey, sorry to butt in for just a small comment: > > On 12-04-21 12:56 PM, Dave Burk

[Puppet Users] Only write file if copy on master is present

2012-04-21 Thread Dennis Jacobfeuerborn
Hi, I'm trying to find a way to configure the firewall on centos systems using puppet by copying the /etc/sysconfig/iptables file and restarting the iptables service. That part is simple to accomplish. The twist I need to add though is that I only want to do this if a copy of that file for the n

Re: [Puppet Users] Re: Cron job isn't running

2012-04-21 Thread Gabriel Filion
Hey, sorry to butt in for just a small comment: On 12-04-21 12:56 PM, Dave Burkholder wrote: > It just contains the output of "hostname -i " In my understanding, this would probably be equivalent to the $ipaddress fact that comes with facter. Am I mistaken? > On Apr 21, 2012 12:52 PM, "Christoph

Re: [Puppet Users] Re: Cron job isn't running

2012-04-21 Thread Dave Burkholder
It just contains the output of "hostname -i " On Apr 21, 2012 12:52 PM, "Christopher Wood" wrote: > What does the custom facter variable contain? > > On Sat, Apr 21, 2012 at 08:03:32AM -0700, thinkwell wrote: > >Ahah, I made a custom FACTER variable in my .bashrc file and that bash > >env

Re: [Puppet Users] Re: Cron job isn't running

2012-04-21 Thread Christopher Wood
What does the custom facter variable contain? On Sat, Apr 21, 2012 at 08:03:32AM -0700, thinkwell wrote: >Ahah, I made a custom FACTER variable in my .bashrc file and that bash >environment variable isn't run by cron.  So that's my problem... I'll need >to research how to pass a custom

[Puppet Users] Re: Cron job isn't running

2012-04-21 Thread thinkwell
Ahah, I made a custom FACTER variable in my .bashrc file and that bash environment variable isn't run by cron. So that's my problem... I'll need to research how to pass a custom FACTER variable to a cron script and have it be accessible at script run time. On Thursday, April 19, 2012 3:43:1