Hi,
I've been trying to clean up my nodes.pp file, and I broke my puppet
installation. :) What I have is a tcpwrappers module that has the
following in the hosts.allow template:
<% if scope.compiler.classlist.include?("tftp") then %>in.tftpd: ALL<%
end %>
The following works as I would
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 nev
On Nov 30, 2011, at 8:04 PM, Nan Liu wrote:
> On Wed, Nov 30, 2011 at 7:41 PM, Dave Alden 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'
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 f
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 ne
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 add
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 th