Re: [Puppet Users] Converting augeas snippet to puppet augeas resource

2013-10-06 Thread Patrick Spinler
it errored out on the files iptables.save and iptables.orig? What's weird is you have incl commented out which would make me think it should only load the one path you specified. On Fri, Oct 4, 2013 at 7:13 AM, Patrick Spinler pspin...@gmail.com wrote: (apologies in advance for the line wrap) I

Re: [Puppet Users] Converting augeas snippet to puppet augeas resource

2013-10-06 Thread Patrick Spinler
file, iptables.aug, but where the '.lns' suffix comes from I have no idea. Anyway, thanks again, -- Pat On 10/6/13 3:24 PM, Patrick Spinler wrote: I'm not using the puppet firewall module because, if I read the docs correctly, I'd need to use that module to completely manage the firewall

[Puppet Users] Converting augeas snippet to puppet augeas resource

2013-10-04 Thread Patrick Spinler
(apologies in advance for the line wrap) I have the following tidbit of augeas code, which inserts a rule into /etc/sysconfig/iptables as the first rule of a specifically named chain; # augtool insert append before /files/etc/sysconfig/iptables/table/append[. = 'Mayo-Firewall-INPUT'][1] #

[Puppet Users] Newbie basic parameterized class usage question

2013-10-01 Thread Patrick Spinler
I'd like to create and call a parameterized class from another class, both in modules. Here's what I'm trying to do: First, my module path: ap00375@ROFTMA901A ~ $ sudo puppet apply --configprint modulepath /modules:/shares/nfs/unixnoarch/config/puppet:/shares/nfs/unixnoarch/config/puppet/linux