That I do not know. I'll leave that answer to Mark :-)
> I just compared your bundle to mine and found the problem. I was doing
> this in a common bundle while yours is in an agent bundle. I seem to
> recall a similar problem to this but I don't remember the details. I
> changed mine to an agent
FWIW, I think I can get away with moving this particular class
definition into an agent bundle, but I'm still interested in finding out
why it doesn't work in a common bundle.
Justin
-Original Message-
From: help-cfengine-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] On
I just compared your bundle to mine and found the problem. I was doing
this in a common bundle while yours is in an agent bundle. I seem to
recall a similar problem to this but I don't remember the details. I
changed mine to an agent bundle and it worked fine, but I'd like to do
it in a common bund
I am not sure what you're doing worng. The following bundle works just fine
for me... I did "cf-agent -Kb foo -f ./justin.cf"
-Dan
bundle agent foo {
vars:
"logs" slist => { "foo", "bar", "gar-bletch" };
"canonified[$(logs)]" string => canonify("$(logs)");
classes:
"$(canonifi
Dear Mark,
Are you going to teach a Cfengine 3 class at LISA in November?
(I may not make it to USENIX this year, so asking about LISA.)
Kind regards,
Aleksey
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listi
FWIW, I just found out that this does not work:
vars:
"logs" slist => { "foo", "bar" };
"canonified[$(logs)]" string => canonify("$(logs)");
classes:
"$(canonified[$(logs)])_exists" expression =>
fileexists("/var/adm/$(logs)");
It gives the same error about illegal characters.
Justi
I have an slist variable, named "logs", of logfile names and just ran
into a problem when I added a filename with a hyphen in it, breaking
this classes promise:
"$(logs)_exists" expression => fileexists("/var/adm/$(logs)");
Running cf-promises on the .cf file returns the following message:
!! Cl
To save others the time I spent getting statically-linked cfengine 3 binaries
on Solaris & Linux, I'm putting my instructions here. I did this against
cfengine 3.0.4. On Solaris, I used sunfreeware.com packages for dependencies.
Doing this, I was able to compile binaries once on RHEL 3 i386, and
On Mon, May 17, 2010 at 4:43 PM, Seva Gluschenko
wrote:
> I still get no clue why and how this construction is better than
> process_select internal feature of Cfengine3 itself )
>
process_select does not work very well on Solaris, as it will see across
zones. You need Nova or above for this to d