Matt,
tell us which Cfengine version are you using. I'm not able to
reproduce such a warning with 3.0.5p1
--
SY, Seva Gluschenko.
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
Hi,
When trying to get the following to work (excerpt):
bundle action foobar
{
vars:
redhat.tomcat_host::
"add_package"slist => {"httpd"};
"upd_package"slist => {"httpd"};
"del_package"slist => {"unnecessary-pkg"};
packages:
redhat::
"$(add_package)"
comment =>
Actually, you're getting a different error. The syntax error
cf3:/var/lib/cfengine3/inputs/promises.cf:64,25: syntax error, near
token '@'
is the first thing you need to look at. Everything else comes from it.
The problem is that, like it or not, all variables in Cfengine must currently
Nima-
Comments inline, below...
-Dan
On Sep 11, 2010, at 11:03 PM, no-re...@cfengine.com wrote:
> Forum: Cfengine Help
> Subject: Handles vs Classes - Scope Intersection
> Author: nima
> Link to topic: https://cfengine.com/forum/read.php?3,18170,18170#msg-18170
>
> Are we free to do the follow
Forum: Cfengine Help
Subject: Re: Handles vs Classes - Scope Intersection
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,18170,18178#msg-18178
>From this output, it's hard to find why failsafe.cf produces segfault, at
>least nothing is shown about the segfault. I'd s
Forum: Cfengine Help
Subject: Re: cf-promises crashes
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,18171,18177#msg-18177
Well, files look okay in general (besides ${} which I'm not sure of). Since
crash happens in bundle server access_rules most probably, I'd sugge
Forum: Cfengine Help
Subject: Re: cf-promises crashes
Author: nima
Link to topic: https://cfengine.com/forum/read.php?3,18171,18176#msg-18176
Err, here are the files again - censored of profanity this time :]
lib-core.cf
lib-conf.cf
___
Help-cfengine m
Forum: Cfengine Help
Subject: Re: Handles vs Classes - Scope Intersection
Author: nima
Link to topic: https://cfengine.com/forum/read.php?3,18170,18175#msg-18175
Okay, to simplify, here's what I've done:
failsafe.cf is now as follows:
body common control {
version => "1.1.0";
bundleseque
Forum: Cfengine Help
Subject: Re: cf-promises crashes
Author: nima
Link to topic: https://cfengine.com/forum/read.php?3,18171,18174#msg-18174
Hi Seva,
1. I've used ${} and $() interchangeably, and in cf2 at least, it was valid
syntax, and there's nothing in the manual to say otherwise, however,
Forum: Cfengine Help
Subject: Re: cf-promises crashes
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,18171,18173#msg-18173
On the first sight, there's a lot of invalid variables expansions, like this:
default_repository => "${path.cache}"; # must be $(path.ca
Forum: Cfengine Help
Subject: Re: Handles vs Classes - Scope Intersection
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,18170,18172#msg-18172
Your question is quite complex and requires certain clarifications before any
advices can be given. Anyway,
[*] Handles are
Forum: Cfengine Help
Subject: cf-promises crashes
Author: nima
Link to topic: https://cfengine.com/forum/read.php?3,18171,18171#msg-18171
Here's my configs:
cf-agent.cf
cf-serverd.cf
promises.cf
And here''s the backtrace (in case you're interested) for running:
cf-promises -v
(gdb) back
#0
12 matches
Mail list logo