Re: [Puppet Users] Using array's in Puppet (in combination with Augeas).

2011-12-08 Thread Felix Frank
On 12/02/11 13:29, Adrian van Dongen wrote: So now I am kind of stuck. I could write a separate define for the up rules but I would rather have this within the define for interfaces. No, that's how you generally do it. Make a defined type that does the required augeas to add an 'up' rule, the

[Puppet Users] Using array's in Puppet (in combination with Augeas).

2011-12-02 Thread Adrian van Dongen
Hi, I have been struggling with arrays in puppet in combination with Augeas. I have written a define to configure network interfaces on Debian based distributions using Augeas. One of the requirements is the possibility to use the up/down mechanism. This where I run into a snag. Everything works