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

2011-04-14 Thread no-reply
Forum: Cfengine Help Subject: maintaining /etc/security/limits.conf with cf3 Author: svenXY Link to topic: https://cfengine.com/forum/read.php?3,21465,21465#msg-21465 Hi, I'm trying to come up with some bundles to maintain /etc/security/limits.conf with cf3, but I don't quite achieve completely

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

Cfengine Help: Re: Cfengine Help: Re: 3.1.5 beta release

2011-04-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: 3.1.5 beta release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21463,21467#msg-21467 This is a client machine so that is difficult. If I could it would take weeks for approval. Doesn't Cfengine AS have some commer

Re: Cfengine Help: Re: Cfengine Help: Re: 3.1.5 beta release

2011-04-14 Thread Mikhail Gusarov
On 14.04.2011 13:39, no-re...@cfengine.com wrote: > This is a client machine so that is difficult. Don't worry then. Try --disable-largefile then, it might help. -- Mikhail Gusarov ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfen

Cfengine Help: Re: Cfengine Help: Re: Cfengine Help: Re: 3.1.5 beta release

2011-04-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Cfengine Help: Re: 3.1.5 beta release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21463,21469#msg-21469 Is that a configure option? ___ Help-cfengine mailing list Help-cfe

Re: Cfengine Help: Re: Cfengine Help: Re: Cfengine Help: Re: 3.1.5 beta release

2011-04-14 Thread Mikhail Gusarov
On 14.04.2011 13:52, no-re...@cfengine.com wrote: > Is that a configure option? Yes. -- Mikhail Gusarov ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Cfengine Help: Re: 3.1.5 beta release

2011-04-14 Thread no-reply
Forum: Cfengine Help Subject: Re: 3.1.5 beta release Author: aloga Link to topic: https://cfengine.com/forum/read.php?3,21391,21470#msg-21470 neilhwatson Wrote: --- > I'm seeing multiple messages like this when the > agent (3.1.5b2) is run: > Int

cf-execd in deamon mode

2011-04-14 Thread Bas van der Vlies
I have question with cf2 we could change the configuration file of cfexecd and the changes were automatically detected by cfexecd. So we did not have to restart the cf-execd daemon. Does the cf-execd daemon in cf3 also support this setup? Did some tests and it seems it does not re-read its con

Cfengine Help: CFENGINE PACKAGES FOR AIX 6.1

2011-04-14 Thread no-reply
Forum: Cfengine Help Subject: CFENGINE PACKAGES FOR AIX 6.1 Author: andrelutz273 Link to topic: https://cfengine.com/forum/read.php?3,21473,21473#msg-21473 Hallo, I need cfengine packeges or the data for compiling on AIX 6.1 .rpm from perzl.org < 3.xx are damage. ___

Cfengine Help: Re: Cfengine Help: Re: 3.1.5 beta release

2011-04-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: 3.1.5 beta release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21463,21474#msg-21474 Still an error. make[3]: Entering directory `/var/tmp/nwatson/src/cfengine-3.1.5b2/src' CC libpromises_la-cf3parse.lo LEX

Re: /proc file sizes

2011-04-14 Thread Frans Lawaetz
You should run cf-monitord and then simply use $(mon.loadavg) variables (see ref manual) Mark, Maybe you can provide some insight on these vars. I actually did look into using them first but could not interpret their values in a manner that made them suitable as a replacement for standard l

Re: /proc file sizes

2011-04-14 Thread Mark Burgess
The value is loadaverage * 100. Of course, it might be up to a few minutes old. On 14/04/11 15:15, Frans Lawaetz wrote: > >> You should run cf-monitord and then simply use $(mon.loadavg) variables >> (see ref manual) > Mark, > > Maybe you can provide some insight on these vars. I actually did lo

Cfengine Help: Re: Cfengine Help: Re: 3.1.5 beta release

2011-04-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: 3.1.5 beta release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21463,21477#msg-21477 --disable-largefile resulted in a good AIX build. ___ Help-cfengine mailing list Help-

Cfengine Help: Editing only the first line in a file

2011-04-14 Thread no-reply
Forum: Cfengine Help Subject: Editing only the first line in a file Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,21478,21478#msg-21478 Let me know if I'm missing something. I want to make sure that the first line in a file is a certain value - specifically, if the first lin

Cfengine Help: Re: cf-execd in deamon mode

2011-04-14 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-execd in deamon mode Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,21472,21479#msg-21479 That's funny (or disappointing), as I was just learning that this morning as well. I was starting on some logic to detect any changes in files which

Re: Cfengine Help: Editing only the first line in a file

2011-04-14 Thread Frans Lawaetz
There is an "occurrences" option to line edit promises. cfengine_stdlib.cf has the following: body replace_with value(x) { replace_value => "$(x)"; occurrences => "all"; } Try setting it to just "first". Frans ___ Help-cfengine mailing list Help-cfen

Cfengine Help: Re: cf-execd in deamon mode

2011-04-14 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-execd in deamon mode Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,21472,21481#msg-21481 I personally use this to execute Cfengine. # Entry to run cf-execd in non-daemon mode hourly. This starts splaytime, not execution. 0

Cfengine Help: Re: cf-execd in deamon mode

2011-04-14 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-execd in deamon mode Author: mark Link to topic: https://cfengine.com/forum/read.php?3,21472,21482#msg-21482 Note that, in cf3, cf-agent can restart cf-execd in policy, by a kill/restart. This was not possible in cf2. This allows a more controlled restart than

Re: Cfengine Help: Re: cf-execd in deamon mode

2011-04-14 Thread Bas van der Vlies
> > > Note that, in cf3, cf-agent can restart cf-execd in policy, by a > kill/restart. This was not possible in cf2. > This allows a more controlled restart than just looking at the time stamp. > I am still used to cf2 behavior ;-). Does cf3 reread the configuration of cf-serverd daemon or m

Re: Cfengine Help: Re: cf-execd in deamon mode

2011-04-14 Thread Mark Burgess
On 14/04/11 19:58, Bas van der Vlies wrote: >> >> >> Note that, in cf3, cf-agent can restart cf-execd in policy, by a >> kill/restart. This was not possible in cf2. >> This allows a more controlled restart than just looking at the time stamp. >> > > I am still used to cf2 behavior ;-). Does cf3

Cfengine Help: Re: cf-execd in deamon mode

2011-04-14 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-execd in deamon mode Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21472,21485#msg-21485 The days are much longer in Norway these days :) ___ Help-cfengine mailing list Help-cfengine@cfengi

Cfengine Help: Re: cf-execd in deamon mode

2011-04-14 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-execd in deamon mode Author: mark Link to topic: https://cfengine.com/forum/read.php?3,21472,21486#msg-21486 Oh, look who's a smarty pants! Go to the back of the class! ___ Help-cfengine mailing list Help-cfengine@c