Cfengine Help: Re: Controlling Module Calls

2010-09-24 Thread no-reply
Forum: Cfengine Help Subject: Re: Controlling Module Calls Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18383,18478#msg-18478 I find it helpful to start with a small and simple prototype policy for testing. Once that works the way I want it to I duplicate that work to

Cfengine Help: Re: Controlling Module Calls

2010-09-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Controlling Module Calls Author: nima Link to topic: https://cfengine.com/forum/read.php?3,18383,18469#msg-18469 Hi Seva, A reasonable suggestion again, but doesn't work - I must say, some things in cfengine do not follow any natural set of rules. Anyway, I've

Cfengine Help: Re: Controlling Module Calls

2010-09-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Controlling Module Calls Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18383,18461#msg-18461 Well, I'd rather suggest trying classes: !reindex_done:: "ReIndexOpenLDAP" expression => usemodule("ReIndexOpenLDAP

Cfengine Help: Re: Cfengine Help: Re: Controlling Module Calls

2010-09-23 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Controlling Module Calls Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18399,18447#msg-18447 classes: "ReIndexOpenLDAP" expression => usemodule("ReIndexOpenLDAP", "&qu

Cfengine Help: Re: Cfengine Help: Re: Controlling Module Calls

2010-09-21 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Controlling Module Calls Author: nima Link to topic: https://cfengine.com/forum/read.php?3,18399,18403#msg-18403 I may be doing this wrong, but here it goes: bundle agent ReIndexOpenLDAP { classes: "ReIndexOpe

Cfengine Help: Re: Controlling Module Calls

2010-09-21 Thread no-reply
Forum: Cfengine Help Subject: Re: Controlling Module Calls Author: nima Link to topic: https://cfengine.com/forum/read.php?3,18383,18401#msg-18401 Dang. It seems to not work as expected; here is the relevant code: bundle agent ReIndexOpenLDAP { classes: "ReIndexOpenLDAP"

Cfengine Help: Re: Controlling Module Calls

2010-09-21 Thread no-reply
Forum: Cfengine Help Subject: Re: Controlling Module Calls Author: nima Link to topic: https://cfengine.com/forum/read.php?3,18383,18400#msg-18400 Hi Diego - thankyou for clarifying that, that sounds like a reasonable solution - and self-documenting too when implemented, I'll give it a go right n

Re: Cfengine Help: Re: Controlling Module Calls

2010-09-21 Thread Jesse Becker
On Tue, Sep 21, 2010 at 06:04:51PM -0400, no-re...@cfengine.com wrote: >Forum: Cfengine Help >Subject: Re: Controlling Module Calls >Author: zzamboni >Link to topic: https://cfengine.com/forum/read.php?3,18383,18398#msg-18398 > >Hi Nima, > >Cfengine will make up to three passes during convergence:

Cfengine Help: Re: Controlling Module Calls

2010-09-21 Thread no-reply
Forum: Cfengine Help Subject: Re: Controlling Module Calls Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,18383,18398#msg-18398 Hi Nima, Cfengine will make up to three passes during convergence: http://www.cfengine.org/manuals/cf3-reference.html#Agent-normal-ordering In p

Cfengine Help: Re: Controlling Module Calls

2010-09-21 Thread no-reply
Forum: Cfengine Help Subject: Re: Controlling Module Calls Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18383,18390#msg-18390 Please show some demo code. Self contained if possible. ___ Help-cfengine mailing list Help-cfengi

Cfengine Help: Re: Controlling Module Calls

2010-09-21 Thread no-reply
Forum: Cfengine Help Subject: Re: Controlling Module Calls Author: nima Link to topic: https://cfengine.com/forum/read.php?3,18383,18389#msg-18389 Hi Neil, ifelapsed is not quite what i'm after: The minimum time (in minutes) which should have passed since the last time that promise was verified

Cfengine Help: Re: Controlling Module Calls

2010-09-21 Thread no-reply
Forum: Cfengine Help Subject: Re: Controlling Module Calls Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18383,18387#msg-18387 Did you try ifelapsed? ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.o