Forum: CFEngine Help
Subject: Contrived example : getindices returns an empty list
Author: jbd
Link to topic: https://cfengine.com/forum/read.php?3,27120,27120#msg-27120
Hello everybody,
i'm running CFEngine 3.3.5.
I've build the following contrived example, and I don't understand why the
imyar
Forum: CFEngine Help
Subject: Re: classnames constructed with "$(foo)": how to canonify in "common"?
Author: davidlee
Link to topic: https://cfengine.com/forum/read.php?3,27082,27121#msg-27121
Thanks for the reply, Diego.
The problem (which perhaps I didn't state clearly enough) is about verbose
It's a known bug: dynamically-added array elements are only visible to
getindices() and getvalues() until the next pass over the policy. See
https://cfengine.com/bugtracker/view.php?id=904 for a description and
workaround.
--Diego
On Aug 28, 2012, at 3:02 AM, no-re...@cfengine.com wrote:
> Fo
I didn't see those messages either - only the ones warning about "/weird/"
containing invalid characters.
--Diego
On Aug 28, 2012, at 3:05 AM, no-re...@cfengine.com wrote:
> Forum: CFEngine Help
> Subject: Re: classnames constructed with "$(foo)": how to canonify in
> "common"?
> Author: davi
Forum: CFEngine Help
Subject: Re: [ANNOUNCE] Mantis -> Redmine
Author: davidlee
Link to topic: https://cfengine.com/forum/read.php?3,27043,27122#msg-27122
Thanks. I look forward to the fix!
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
http
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: About cf_promises_validated
Author: davidlee
Link to topic: https://cfengine.com/forum/read.php?3,27037,27125#msg-27125
Neil, For the record, I added a "+1" to the bug report on 16th Aug, and a
further observation of a slightly different (but p
On 08/28/2012 12:06 PM, Diego Zamboni wrote:
> It's a known bug: dynamically-added array elements are only visible to
> getindices() and getvalues() until the next pass over the policy. See
> https://cfengine.com/bugtracker/view.php?id=904 for a description and
> workaround.
Ok, sorry for the n
Forum: CFEngine Help
Subject: Defining a default action_policy (warn vs fix) for all promise types?
Author: FraserCampbell
Link to topic: https://cfengine.com/forum/read.php?3,27127,27127#msg-27127
I need to define policy in such a way that some classes of systems experience
automatic change and
Forum: CFEngine Help
Subject: Re: Defining a default action_policy (warn vs fix) for all promise
types?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,27127,27128#msg-27128
Passive type policie are hard to do. CF's general design favours action rather
than warnings. I
I checked the reference manual and filexists() takes one argument:
File object name, in the range "?(/.*)
It seems like it would add functionality to allow regex patterns in
fileexists arguments.
Would it break anything?
In other words, regexes don't work in fileexists() by design, or from omiss
Try this, it's more native to CFEngine, though I still use an external
command to report the detected file.
# Report all files in directory /tmp/. matching regex pattern \w.*
bundle agent example
{
files:
"/tmp/."
file_select => files_we_care_about,
transformer => "
Forum: CFEngine Help
Subject: Unable to create a test file on a cat of servers.
Author: jab2...@yahoo.com
Link to topic: https://cfengine.com/forum/read.php?3,27131,27131#msg-27131
Hi all,
I'm a CFEngine newbee. I'm trying to setup a new class of servers called
TESTSERVERS in my existing cf e
Forum: CFEngine Help
Subject: Re: Unable to create a test file on a cat of servers.
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,27131,27132#msg-27132
TESTSERVERS is scoped locally in the bundle unless it is a common bundle. Seem
the reference. Also, you do not see c
13 matches
Mail list logo