Re: CFEngine Help: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3

2012-01-26 Thread Nick Anderson
e: >Forum: CFEngine Help >Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf >with cf3 >Author: milindk >Link to topic: >https://cfengine.com/forum/read.php?3,24612,24671#msg-24671 > >Oh no , in my build the limits.conf has last line as # End of File >

CFEngine Help: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3

2012-01-26 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3 Author: milindk Link to topic: https://cfengine.com/forum/read.php?3,24612,24671#msg-24671 Oh no , in my build the limits.conf has last line as # End of File I just wanted to have all my config

Re: CFEngine Help: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3

2012-01-26 Thread Nick Anderson
>Forum: CFEngine Help >Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf >with cf3 >Author: milindk >Link to topic: >https://cfengine.com/forum/read.php?3,24612,24667#msg-24667 > >Thanks , I may need to make change on my side too :) then > >__

CFEngine Help: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3

2012-01-26 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3 Author: milindk Link to topic: https://cfengine.com/forum/read.php?3,24612,24667#msg-24667 Thanks , I may need to make change on my side too :) then

Re: CFEngine Help: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3

2012-01-26 Thread Nick Anderson
On 01/24/2012 05:20 PM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3 > Author: milindk > Link to topic: https://cfengine.com/forum/read.php?3,24612,24641#msg-24641 > > Does this work ? Th

CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3

2012-01-25 Thread no-reply
Forum: CFEngine Help Subject: Re: maintaining /etc/security/limits.conf with cf3 Author: barry35malone Link to topic: https://cfengine.com/forum/read.php?3,21465,24650#msg-24650 WOW!!! awesome post, nice things to follow, thank you very much for this great piece of work!!! __

CFEngine Help: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3 Author: milindk Link to topic: https://cfengine.com/forum/read.php?3,24612,24641#msg-24641 Does this work ? body common control { bundlesequence => { "configfiles" }; inputs =>

CFEngine Help: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3 Author: milindk Link to topic: https://cfengine.com/forum/read.php?3,24612,24626#msg-24626 The way it is setup it will not replace if there is existing entry classes: "${cpattern[$(pa

Re: CFEngine Help: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3

2012-01-24 Thread Nick Anderson
On 01/23/2012 11:51 AM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3 > Author: milindk > Link to topic: https://cfengine.com/forum/read.php?3,24612,24621#msg-24621 > > Can we not use this wa

CFEngine Help: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3

2012-01-23 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3 Author: milindk Link to topic: https://cfengine.com/forum/read.php?3,24612,24621#msg-24621 Can we not use this way ? Below is my code snippet "limits[^\s*sybase\s*hard\s*memlock\s.*$]&qu

CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3

2012-01-22 Thread no-reply
Forum: CFEngine Help Subject: Re: maintaining /etc/security/limits.conf with cf3 Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,21465,24617#msg-24617 Nick: Give this approach a shot. I used it to modify /etc/sysctl.çonf, but there isn't any reason why you cou

Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3

2012-01-20 Thread Nick Anderson
On 01/20/2012 08:51 AM, Nick Anderson wrote: > On 01/20/2012 01:35 AM, no-re...@cfengine.com wrote: >> Forum: CFEngine Help >> Subject: Re: maintaining /etc/security/limits.conf with cf3 >> Author: zzamboni >> Link to topic: https://cfengine.com/forum/read.php?3,21465,24610#msg-24610 >> >> The code

Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3

2012-01-20 Thread Nick Anderson
On 01/20/2012 01:35 AM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: maintaining /etc/security/limits.conf with cf3 > Author: zzamboni > Link to topic: https://cfengine.com/forum/read.php?3,21465,24610#msg-24610 > > The code below works, if CFEngine is the only thing that tou

CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3

2012-01-19 Thread no-reply
Forum: CFEngine Help Subject: Re: maintaining /etc/security/limits.conf with cf3 Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,21465,24610#msg-24610 The code below works, if CFEngine is the only thing that touches the file, because it needs to empty it every time. The par

CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3

2012-01-19 Thread no-reply
Forum: CFEngine Help Subject: Re: maintaining /etc/security/limits.conf with cf3 Author: n...@cmdln.org Link to topic: https://cfengine.com/forum/read.php?3,21465,24596#msg-24596 I stumbled on this today while searching for a solution to maintin the limits.conf file, curious if anyone was able to

CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3

2011-08-27 Thread no-reply
Forum: CFEngine Help Subject: Re: maintaining /etc/security/limits.conf with cf3 Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,21465,23246#msg-23246 Sven, I came across this old post, and was trying to come up with a more concise way of solving it. In principle, the code

Cfengine Help: Re: maintaining /etc/security/limits.conf with cf3

2011-04-14 Thread no-reply
Forum: Cfengine Help Subject: Re: maintaining /etc/security/limits.conf with cf3 Author: svenXY Link to topic: https://cfengine.com/forum/read.php?3,21465,21466#msg-21466 OK, deleting the lines before inserting new ones does the trick fine: !soft_limit_ok:: delete_lines: "${user}\s+s