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

2013-10-06 Thread Patrick Spinler
arly comes from the 'module' statement inside the lens source 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 rea

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

2013-10-06 Thread Patrick Spinler
> 'tcp', > dport => 3, > action => 'accept', > } #End > > As far as your output above it looks like it errored out on the files > iptables.save and iptables.orig? What's weird is you have incl > commented out which would make m

[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]" # aug

[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