Forum: CFEngine Help
Subject: Re: False report of "no constrants" in constrained classes promises.
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,27501,27526#msg-27526
There's no action for a classes promise with nothing in the body but an
"ifvarclass" because of the way ifvar
Forum: CFEngine Help
Subject: Re: allclasses facility?
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,27436,27524#msg-27524
neilhwatson Wrote:
---
> What other facility is there to get a list of all
> defined classes?
You're
On Sun, Sep 23, 2012 at 12:46 AM, Mark wrote:
>
> I think what you are trying to write is this:
>
>
> vars:
> "webservers" slist => { "web01", "web02", "web03" };
>
> classes:
>
>"webclass" or => { "@(webservers)" };
Dear Mark,
I tried the above, and it works standalone, bu
Dear Mark,
Thanks for your kind reply.
On Sun, Sep 23, 2012 at 12:46 AM, Mark Burgess wrote:
>> The body of a promise details and constrains its nature. This promise
>> is constrained by the ifvarclass attribute.
>
> That's true but there are no constraints that determine the class.
I still
Forum: CFEngine Help
Subject: auto-scrolling website
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,27522,27522#msg-27522
Before I go to the new bug site, I'm curious. Am I the only person being
driven absolutely insane by the inability to scroll on the reference manual
page
> Of course init restarts the process but it is disrupts the normal cycle of
> the program. Therefore at the moment it is not possible to use init respawn
> :( Seems like it is possible to make small changes to the code of cf-execd.c
> to support running from init. For example, separate option -
On Sun, Sep 23, 2012 at 7:30 PM, Diego Zamboni wrote:
> Hey Aleksey,
>
> Thanks for the contribution! Definitely, if you think it's worth the update,
> please submit a pull request to the copbl repository on github:
> http://github.com/cfengine/copbl/
Pull request sent.
> Also, thanks for the
Hey Aleksey,
Thanks for the contribution! Definitely, if you think it's worth the update,
please submit a pull request to the copbl repository on github:
http://github.com/cfengine/copbl/
Also, thanks for the kind words, but set_variable_values was not written by me,
it was there before :) We
Hi,
May I show you a modified set_variable_values bundle?
This came out of one of my classes.
The main difference is you won't get lines like "name =value2"
if you start with "name = value1". (Note the asymetrical space
around the equals sign.) Instead you get lines like "name=value2".
I
Forum: CFEngine Help
Subject: Re: Starting cf-execd from inittab
Author: aleksey_c
Link to topic: https://cfengine.com/forum/read.php?3,27509,27513#msg-27513
Just looked at the source code of cfengine-3.3.5\src\cf-execd.c
When starting cf-execd with --nofork or -F option ONCE flag is set to true
Forum: CFEngine Help
Subject: Re: Starting cf-execd from inittab
Author: aleksey_c
Link to topic: https://cfengine.com/forum/read.php?3,27509,27512#msg-27512
I've seen a few examples of how to make sure that cf-execd is always running.
Most of them include cron job regulary starting shell script.
Forum: CFEngine Help
Subject: Re: Starting cf-execd from inittab
Author: aleksey_c
Link to topic: https://cfengine.com/forum/read.php?3,27509,27511#msg-27511
For respawn to work correctly, processes should not fork themselves. The
respawn attribute is associated with the parent process that is st
Forum: CFEngine Help
Subject: Re: Starting cf-execd from inittab
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,27509,27510#msg-27510
Why the --no-fork?
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine
Forum: CFEngine Help
Subject: Starting cf-execd from inittab
Author: aleksey_c
Link to topic: https://cfengine.com/forum/read.php?3,27509,27509#msg-27509
Does anyone have experience of starting cf-execd from inittab with respawn
option?
For example
ce:2345:respawn:/var/cfengine/bin/cf-execd --n
Is upgrading to CFEngine 3 an option? 3 is much improved compared to 2.
Why is apt-get taking longer than it used to?
Aleksey
On Sep 16, 2012 11:46 PM, "Sander Smeenk" wrote:
>
> Quoting Sander Smeenk (ssme...@freshdot.net):
>
> > Any light on why i cant seem to put an end to the brutal killing
Forum: CFEngine Help
Subject: Re: False report of "no constrants" in constrained classes promises.
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,27501,27506#msg-27506
On 09/23/2012 02:42 AM, Aleksey Tsalolikhin wrote:
> Situation: I want to target a promise to a certain group
16 matches
Mail list logo