Re: [Puppet Users] Puppet and augeas - onlyif conditions; overwriting default values

2010-12-29 Thread Rob McBroom
On Dec 29, 2010, at 3:07 AM, Os wrote: > But perhaps I am doing the whole thing wrong, is there an other way to > solve this default-custom thing? Depending on how conceptually “close together” they are, you could just define the defaults in one class and have another class that inherits from it

[Puppet Users] Puppet and augeas - onlyif conditions; overwriting default values

2010-12-29 Thread Os
Hello, I am still not getting warm with augeas and puppet, there are some things I do not understand. At the moment I am trying the following: - I want to set some kernel parameters in the /etc/sysctl.conf file - in one puppet module, I have defined some default values for the kernel parameters -

Re: [Puppet Users] Puppet and Augeas

2010-10-13 Thread Felix Frank
On 10/13/2010 03:48 PM, Kikanny wrote: > Hi. Is there any way to make puppet run a particular module first > before another module is run. For example, I'm using the augeas > resource type in one of the modules. But libaugeas-ruby1.8 is not > installed in the client machine. So when the catalog is

[Puppet Users] Puppet and Augeas

2010-10-13 Thread Kikanny
Hi. Is there any way to make puppet run a particular module first before another module is run. For example, I'm using the augeas resource type in one of the modules. But libaugeas-ruby1.8 is not installed in the client machine. So when the catalog is run, I get the following error: Could not find

Re: [Puppet Users] puppet and augeas to keep ntp.conf

2010-07-12 Thread Rob McBroom
On Jul 9, 2010, at 7:45 PM, altimon wrote: > How I should form onlyif condition with match to make it working: > now I have either it is not working at all or just accumulating > additional lines. I would avoid using a combination of “last()” and “onlyif” whenever possible. See the recent discus

[Puppet Users] puppet and augeas to keep ntp.conf

2010-07-09 Thread altimon
Hi, Please help me in following: I'm trying to check ntp.conf files some of which have and some have not lines like these server ntp1.example.com server ntp2.example.com server ntp3.example.com How I should form onlyif condition with match to make it working: now I have either it is not working