Re: [SPAM] [Puppet Users] In CentOS 6, puppet Unresponsive

2011-12-30 Thread Dave Alden
Hi, On Dec 30, 2011, at 3:50 AM, Juan-Francisco Diez wrote: The problem we have is that the puppet client become unresponsive after a few minutes. All we can see through the logs of the client is that the puppet is running but never end. We see the process through a ps command but it never

Re: [SPAM] Re: [Puppet Users] how to restrict an exec?

2011-12-01 Thread Dave Alden
On Nov 30, 2011, at 8:04 PM, Nan Liu wrote: On Wed, Nov 30, 2011 at 7:41 PM, Dave Alden d...@alden.name wrote: Is there some way to have an exec run only if you pass a tag on the command line? For example: class fubar { exec { 'reboot-system': refreshonly = true, command = '/usr

[Puppet Users] how to restrict an exec?

2011-11-30 Thread Dave Alden
Hi, Is there some way to have an exec run only if you pass a tag on the command line? For example: class fubar { exec { 'reboot-system': refreshonly = true, command = '/usr/bin/reboot', subscribe = Class[dummy] } } As I would expect, this throws an error the it can't find

Re: [Puppet Users] help with the firewall puppet forge module

2011-10-26 Thread Dave Alden
Hi, So now I'm not getting any errors when I put the following in one of my classes: firewall { allow-snmp: proto = 'all', dport = '161', action = 'accept', } But I'm also not seeing any change in my iptables firewall (nor am I seeing anything about the

Re: [SPAM] Re: [Puppet Users] help with the firewall puppet forge module

2011-10-26 Thread Dave Alden
Hi, On Oct 26, 2011, at 10:55 AM, Ken Barber wrote: Is the class getting included properly? You should be getting: err: Could not run Puppet configuration client: Parameter name failed: Invalid value allow-snmp. I believe it is. I was not getting the error, but I've gone ahead and added

Re: [SPAM] Re: [Puppet Users] help with the firewall puppet forge module

2011-10-26 Thread Dave Alden
Hi, On Oct 26, 2011, at 11:50 AM, Ken Barber wrote: Odd that you get no results. I'm curious. What is the output of 'iptables-save' on your box? Also ... can you do a: puppet resource firewall And does it return anything? Try inserting a rule and testing it as well (rule needs a