Forum: CFEngine Help
Subject: Re: Integer splayclass equivalent
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,26915,26973#msg-26973
Actually, my first soution was to use "-D FROM_CRON" and then to "should I do
stuff or not" based on that (with splayclass). But just the start
Hi, Abid. I agree with Nakarin - this smells like a bug. What
happens using the latest stable version (3.3.5) ?
Best,
Aleksey
On Wed, Aug 8, 2012 at 2:05 AM, Abid Khwaja wrote:
> cf3.2.3
>
> Given the following:
>
> "dir_wl10domain" string => "/apps/bea10/user_projects/domains”;
>
>
Forum: CFEngine Help
Subject: Re: Body file control inputs?
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,26943,26975#msg-26975
This is a part of modular self-documentation. If you define a structure where
you're configuring a web server, then you can encapsulate the logic t
Forum: CFEngine Help
Subject: Re: variable method calls using arrays
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,26900,26974#msg-26974
neilhwatson Wrote:
---
> Checking Mark's change I found the line in
> src/cf3lex.l.
> na
Forum: CFEngine Help
Subject: Re: Body file control inputs?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,26943,26972#msg-26972
I don't oppose having this feature but I can't see ever recommending its use.
Having to look in different locations for potential inputs woul
It's been mentioned, but AFAIK there's nothing serious planned about it. The
appearance of "body control file" in 3.4.0 would open the door for additional
file-specific attributes. For now it only allows "namespace":
https://cfengine.com/manuals/cf3-Reference#control-file
Maybe file a feature r
Forum: CFEngine Help
Subject: Re: Dealing with Linux immutable files
Author: msvob...@linkedin.com
Link to topic: https://cfengine.com/forum/read.php?3,26968,26970#msg-26970
Yup. So, we kind of deal with giving developers root access on machines by
requiring the machines to run Cfengine.. With
Forum: CFEngine Help
Subject: Re: Dealing with Linux immutable files
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,26968,26969#msg-26969
Fire up a feature request Mike. Given that your dev had root access to perform
a chattr on inputs I'm not certain this work will pay
Forum: CFEngine Help
Subject: Dealing with Linux immutable files
Author: msvob...@linkedin.com
Link to topic: https://cfengine.com/forum/read.php?3,26968,26968#msg-26968
Some developer set a Cfengine managed configuration file to chattr +i which
enabled the immutable filesystem permissions. This
Forum: CFEngine Help
Subject: Re: Define class based on "boolean" var
Author: nickanderson
Link to topic: https://cfengine.com/forum/read.php?3,26963,26967#msg-26967
"Learning CFEngine" is a never ending process :)
I also think it's important to remember that there might be multiple "right"
ways
Forum: CFEngine Help
Subject: Re: Define class based on "boolean" var
Author: ZnLMEfuG
Link to topic: https://cfengine.com/forum/read.php?3,26963,26966#msg-26966
Good point, and I find the natural language values more appropriate in this
case, so I'll use your example.
Thank you. While learning
Forum: CFEngine Help
Subject: Re: Define class based on "boolean" var
Author: nickanderson
Link to topic: https://cfengine.com/forum/read.php?3,26963,26964#msg-26964
I think it depends on what the best way to communicate the intention is.
I like to use regcmp because I think it makes the policy e
Forum: CFEngine Help
Subject: Define class based on "boolean" var
Author: ZnLMEfuG
Link to topic: https://cfengine.com/forum/read.php?3,26963,26963#msg-26963
I want to define a class based on the value of a "boolean" variable--boolean in
the sense I'm only interested in the existence or non-exist
Forum: CFEngine Help
Subject: variable methods and promisers
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,26962,26962#msg-26962
When using variable methods I see this, which is not an error yet causes the
agent to not work.
!! A variable seems to have been used for th
Forum: CFEngine Help
Subject: Re: how does depth_search work?
Author: phnakarin
Link to topic: https://cfengine.com/forum/read.php?3,26947,26961#msg-26961
It sounds like a bug to me as recurse("1") should not display exactly the same
as recurse("2"). I would suggest to file in a ticket in Bugtrac
Forum: CFEngine Help
Subject: Re: variable method calls using arrays
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,26900,26959#msg-26959
This fix did not quite work.
This works:
"${b}" usebundle => ${b}("param");
This returns a syntax error:
"${b}" usebundle => ${b[${
Forum: CFEngine Help
Subject: Re: array indexes and order. Do we need sort?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,26932,26958#msg-26958
Order is not important until it is. There are some occassions that order does
matter. They are the minority but we should sti
Forum: CFEngine Help
Subject: Re: array indexes and order. Do we need sort?
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,26932,26956#msg-26956
Oddly enough, I was just composing a post asking for the same thing (a sort
function). Because of the probability of a response whi
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: Define classes if a process is running or not
Author: phnakarin
Link to topic: https://cfengine.com/forum/read.php?3,26866,26955#msg-26955
I don't think you can hide those I: messages because you run it with --inform
(-I). Why don't you just ru
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: Define classes if a process is running or not
Author: loopx
Link to topic: https://cfengine.com/forum/read.php?3,26866,26954#msg-26954
Just tried to use "in_range_define" instead of "out_of_range_define" ... but
the "I: ..." stupid report are a
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: Define classes if a process is running or not
Author: loopx
Link to topic: https://cfengine.com/forum/read.php?3,26866,26951#msg-26951
phnakarin Wrote:
---
> Sorry that I don't follow the threa
Forum: CFEngine Help
Subject: Re: About "new" templates correct usage or limitations
Author: th
Link to topic: https://cfengine.com/forum/read.php?3,26723,26948#msg-26948
th Wrote:
> Just to be sure : with promises such as edit_line
> => set_variable_values (just as your book's
> sshd_config exam
cf3.2.3
Given the following:
"dir_wl10domain" string => "/apps/bea10/user_projects/domains”;
"$(def.dir_wl10domain)" file_select => name_age(".*\.out00.*","60"),
depth_search => recurse("3"),
delete => tidy;
body dep
Forum: CFEngine Help
Subject: Re: About "new" templates correct usage or limitations
Author: th
Link to topic: https://cfengine.com/forum/read.php?3,26723,26946#msg-26946
zzamboni Wrote:
---
> 1. Copy "master file" from its master location to
>
24 matches
Mail list logo