[Puppet Users] Re: Puppet client runs outside of office hours

2012-12-11 Thread Chris O'Donnell
Run puppet agent via cron. Add in a random delay so that all the clients don't hit the server at the same time. I use the following script and set to run every 30 minutes: #!/bin/bash # Grab a random value between 0-1740 (29 minutes). value=$RANDOM while [ $value -gt 1740 ] ; do value=$RANDOM

[Puppet Users] Re: How do you modify the default settings for the internal firewall chains using the firewall module?

2012-03-27 Thread Chris O'Donnell
I just went through this last week. This isn't available in the stable 0.4 release from puppetforge, you need to get the current master branch from https://github.com/kbarber/puppetlabs-firewall Once you get this, you can do this: firewallchain { 'INPUT:filter:IPv4': policy=> 'd

[Puppet Users] Re: is there a way to make the puppetlabs/firewall module implement the iptables -P flag?

2012-03-16 Thread Chris O'Donnell
FYI, I downloaded the following branch this morning: git clone -b ticket/10162-firewallchain_support_for_merge git://github.com/kbarber/puppetlabs-firewall.git and found a bug where the args for iptables were being fed to it in the wrong order. I made the following patch, and emailed it to Ken:

[Puppet Users] is there a way to make the puppetlabs/firewall module implement the iptables -P flag?

2012-03-15 Thread Chris O'Donnell
With our current iptables rules, we implement the following in a script: iptables -P INPUT DROP iptables -P FORWARD DROP iptables -P OUTPUT ACCEPT Then the script continues on and does the rest of the rules. some custom policies, etc.Now we're moving to Puppet and trying to replace all of our s