Cfengine Help: Re: Advice on using package promises

2011-06-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Advice on using package promises Author: mark Link to topic: https://cfengine.com/forum/read.php?3,22672,22674#msg-22674 Can you tell me if 3.1.5 is broken? There is a bug report and a patch (which is hard to understand) in the bug tracker. If you can provide the

Cfengine Help: Re: Cfengine Help: insert_lines twice problem

2011-06-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: insert_lines twice problem Author: mark Link to topic: https://cfengine.com/forum/read.php?3,22661,22673#msg-22673 I agree with Dan. You don't give a reason for wanting to use slist or needing the same line twice so it is hard to know exactly what

Cfengine Help: Advice on using package promises

2011-06-29 Thread no-reply
Forum: Cfengine Help Subject: Advice on using package promises Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,22672,22672#msg-22672 I am under a deadline to get package management policy working in Cfengine 3 and would like some advice from the community and developers. Our

Re: Cfengine Help: Re: Client config examples (update.cf / failsafe.cf) for multiple Master Policy Servers

2011-06-29 Thread Mike Svoboda
That's actually really creative. =) Bonus points to you sir! On 6/29/11 8:54 PM, "Aleksey Tsalolikhin" wrote: > On Tue, Jun 28, 2011 at 7:04 AM, wrote: >> Forum: Cfengine Help >> Subject: Re: Client config examples (update.cf / failsafe.cf) for multiple >> Master Policy Servers >> Author: m

Re: Cfengine Help: Re: Client config examples (update.cf / failsafe.cf) for multiple Master Policy Servers

2011-06-29 Thread Aleksey Tsalolikhin
On Tue, Jun 28, 2011 at 7:04 AM, wrote: > Forum: Cfengine Help > Subject: Re: Client config examples (update.cf / failsafe.cf) for multiple > Master Policy Servers > Author: msvob...@linkedin.com > Link to topic: https://cfengine.com/forum/read.php?3,22618,22640#msg-22640 > > select_class was in

Cfengine Help: Re: Cfengine Help: insert_lines twice problem

2011-06-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: insert_lines twice problem Author: schattenfell Link to topic: https://cfengine.com/forum/read.php?3,22661,22669#msg-22669 Hi Daniel, >>One way is to specify a location attribute, or use the insert_type => >>"preserve_block" attribute I already t

Re: Search and replace... need some regex help, please. handling the scenario where the setting has drifted.

2011-06-29 Thread Daniel V. Klein
I'd do it as a two stage process: 1) Delete any line that has "(#\s*)?O QueueLA" . If you really want to be fancy, I think you can say say "(#\s*)?O QueueLA=(?!100)" to only delete if the value is not 100). 2) Insert "O QueueLA=100" Remember, cfengine does not edit "the file", it edits a temp

Search and replace... need some regex help, please. handling the scenario where the setting has drifted.

2011-06-29 Thread Aleksey Tsalolikhin
Hi. I'm trying to write a policy to promise that sendmail.cf will contain the lines "O QueueLA=100" and "O RefuseLA=200" to raise the load average thresholds at which point sendmail will stop sending (or accepting) mail. I've got two scenarios: 1. sendmail contains the default, which is: # load

Re: Cfengine Help: Re: CFEngine in co-existance with SELINUX

2011-06-29 Thread Aleksey Tsalolikhin
On Wed, Jun 29, 2011 at 12:29 AM, wrote: > Forum: Cfengine Help > Subject: Re: CFEngine in co-existance with SELINUX > Author: davidlee > Link to topic: https://cfengine.com/forum/read.php?3,22644,22655#msg-22655 > > It's a couple of years since I got close to doing hand-to-hand combat with > SE

Re: Cfengine Help: Making cf-runagent work

2011-06-29 Thread Jonathan CLARKE
On 20/06/11 09:22, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Making cf-runagent work > Author: sauer > Link to topic: https://cfengine.com/forum/read.php?3,22525,22525#msg-22525 > > So, I've given up on the manual. I'm not sure what I'm missing to make > cf-runagent actually

Re: Cfengine Help: Re: 3.1.6 estimated release

2011-06-29 Thread Jonathan CLARKE
On 29/06/11 16:55, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Re: 3.1.6 estimated release > Author: Authority > Link to topic: https://cfengine.com/forum/read.php?3,22583,22662#msg-22662 > > Well based on the version number in the always-up-to-date reference manual, > the next

Re: Cfengine Help: Making cf-runagent work

2011-06-29 Thread Nicolas Charles
Could it be that "$(sys.cf_agent)" doesn't have the same value on the server and the client ? (just a wild guess) Nicolas CHARLES Normation SAS - http://www.normation.com 44 rue Cauchy – 94110 Arcueil, FRANCE Standard +33 (0)1 83 62 26 96 Tél direct +33 (0)1 83 62 57 47 On 20/06/2011 09:22, no-

Cfengine Help: Re: 3.1.6 estimated release

2011-06-29 Thread no-reply
Forum: Cfengine Help Subject: Re: 3.1.6 estimated release Author: Authority Link to topic: https://cfengine.com/forum/read.php?3,22583,22662#msg-22662 Well based on the version number in the always-up-to-date reference manual, the next planned version appears to be 3.2.0. And I could have sworn

Re: Cfengine Help: insert_lines twice problem

2011-06-29 Thread Daniel V. Klein
One way is to specify a location attribute, or use the insert_type => "preserve_block" attribute -Dan On Jun 29, 2011, at 10:13 AM, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: insert_lines twice problem > Author: schattenfell > Link to topic: https://cfengine.com/forum/read.p

Cfengine Help: insert_lines twice problem

2011-06-29 Thread no-reply
Forum: Cfengine Help Subject: insert_lines twice problem Author: schattenfell Link to topic: https://cfengine.com/forum/read.php?3,22660,22660#msg-22660 Hello, at first the code^^: [...] vars: "musthave" slist => { "text_a", "text_b", "text_a" } [...] files: "/tmp

Cfengine Help: Re: Reports - Overwrite data from previous report

2011-06-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Reports - Overwrite data from previous report Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,22648,22659#msg-22659 Perhaps use a rotate promise. ___ Help-cfengine mailing list Help-cfengine@cfe

Cfengine Help: What sort of clothes should an almost 50 year old man wear?

2011-06-29 Thread no-reply
Forum: Cfengine Help Subject: What sort of clothes should an almost 50 year old man wear? Author: Colin Wahpekeche Link to topic: https://cfengine.com/forum/read.php?3,22658,22658#msg-22658 My husband wants some new clothes because he thinks he needs new clothes so he doesn't look like he's tryin

Cfengine Help: Get the Body That You Really Want

2011-06-29 Thread no-reply
Forum: Cfengine Help Subject: Get the Body That You Really Want Author: jayckmen Link to topic: https://cfengine.com/forum/read.php?3,22657,22657#msg-22657 The diet plan on the DVD emphasizes the consumption of high protein and low fat foods. The plan also recommends more frequent consumption of

Cfengine Help: Re: 3.1.6 estimated release

2011-06-29 Thread no-reply
Forum: Cfengine Help Subject: Re: 3.1.6 estimated release Author: davidlee Link to topic: https://cfengine.com/forum/read.php?3,22583,22656#msg-22656 Isn't there a good case for doing a 3.1.6 quite soon? 3.1.4 had a minor issue with possible db corruption under certain rare circumstances. (Inde

Cfengine Help: Re: CFEngine in co-existance with SELINUX

2011-06-29 Thread no-reply
Forum: Cfengine Help Subject: Re: CFEngine in co-existance with SELINUX Author: davidlee Link to topic: https://cfengine.com/forum/read.php?3,22644,22655#msg-22655 It's a couple of years since I got close to doing hand-to-hand combat with SELinux, and even then I mostly chickened out. And I've b