[Puppet Users] dealing with numbered items in Augeas

2009-05-15 Thread Rob McBroom
I haven't seen this really discussed in the wiki or on the list. I suspect anyone with enough knowledge to help me can already tell where I'm going from the subject, but here's a lengthy description of the problem anyway… For files like sshd_config or Postfix's main.cf, using Augeas is very

[Puppet Users] Re: how do I dictate order?

2009-05-15 Thread List Account
I have a splink class i can share once I get back to the office. Creating the user/group first is the best approach. Ed Sent from my iPhone On May 14, 2009, at 11:40 PM, Jeremy Hansen wrote: > > If there's a section in the documentation that highlights this, please > feel free to point me i

[Puppet Users] Re: loops in .pp files?

2009-05-15 Thread Benoit Decherf
Create a definition that create the environments : define prepare_env() { $env = $name file { "e${env}-website1": ... } ... } And in a class, call it with the array "envs": class main_class { prepare_env{$envs: } } neerolyte wrote: > I'm struggling to figure

[Puppet Users] Re: how do I dictate order?

2009-05-15 Thread Jeremy Hansen
I thought about this too. I'll do some looking and see of I can find a recipe. Thanks! -jeremy James Turnbull wrote: > Also I believe there is a Splunk module for Puppet that was developed > already. Perhaps Google might turn it up as an example of how to do > this. I seem to remember a tw

[Puppet Users] Re: how do I dictate order?

2009-05-15 Thread James Turnbull
Also I believe there is a Splunk module for Puppet that was developed already. Perhaps Google might turn it up as an example of how to do this. I seem to remember a tweet about it too. Regards James Turnbull On 15/05/2009, at 2:00 PM, Russ Allbery wrote: > > Jeremy Hansen writes: > >> H