Forum: CFEngine Help
Subject: Re: can't find the defined variable
Author: roadtest
Link to topic: https://cfengine.com/forum/read.php?3,25022,25061#msg-25061
Thanks Neil, it is the variable scope problem. I tried to define the
u_policyhost in common bundle with the same error. Then I move the va
Forum: CFEngine Help
Subject: Re: can't find the defined variable
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,25022,25062#msg-25062
There is a paragraph or two in the reference. Classes can also be scoped local
or global.
Forum: CFEngine Help
Subject: Re: Expansion overflow constructing string. Increase CF_EXPANDSIZE
macro.
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,25040,25063#msg-25063
Anyone?
___
Help-cfengine mailing list
Help-cfengine@
Forum: CFEngine Help
Subject: Re: Expansion overflow constructing string. Increase CF_EXPANDSIZE
macro.
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,25040,25064#msg-25064
It means you have a string that, upon variable expansion, came out to more than
8064 characters long
Forum: CFEngine Help
Subject: Re: Expansion overflow constructing string. Increase CF_EXPANDSIZE
macro.
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,25040,25065#msg-25065
Perhaps but, that means that the manual is incorrect:
"arg2 : Maximum number of bytes to read, in
On Fri, 24 Feb 2012 07:35:34 -0800 Aleksey Tsalolikhin
wrote:
AT> This site has been using CFEngine 2 for 5 years and they have a very
AT> large policy set. We're talking thousands or more of little inputs files.
AT> They do EVERYTHING in CFEngine. Their system architect teaches all
AT> their
Forum: CFEngine Help
Subject: Re: Odd behaviour of splitstring
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,25023,25067#msg-25067
Neil,
Duplicate list elements are not being skipped. Already-repaired promises are
being skipped. Once CFEngine has "repaired" (by printing t
Hello,
I'm trying to get template file with different values for different envs. So
I'm using expand_template and trying to get different values like in Neil's
example (http://watson-wilson.ca/2011/05/template-files-using-cfengine.html)
Piece of my conf:
bundle agent jboss_install
{
classes:
Forum: CFEngine Help
Subject: Re: Odd behaviour of splitstring
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,25023,25069#msg-25069
To verify this, you can see that the following does print all the lines, since
in this case each reports: promiser is different due to the lin
Forum: CFEngine Help
Subject: Re: Odd behaviour of splitstring
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,25023,25070#msg-25070
The example was run with -K. Should not even the kept reports be run again?
The original intent was to read line in and then using them in
Forum: CFEngine Help
Subject: Re: vars values depending on classes
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,25068,25071#msg-25071
http://cfengine.com/manuals/cf3-reference#policy-in-vars
___
Help-cfengine mailing list
Hel
Forum: CFEngine Help
Subject: Re: vars values depending on classes
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,25068,25072#msg-25072
The problem is that the "xmx" variable is being reassigned (arguably running on
a machine in which both "servergroup" is defined and "defa
Forum: CFEngine Help
Subject: Re: Odd behaviour of splitstring
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,25023,25073#msg-25073
I believe -K only skips the initial check (so that you can run cf-agent
multiple times in quick sequence on the same policy), but does not avo
It's my installation. The promises are only a few MB, but our file repo is a
few GB.
--
Brian
On Feb 28, 2012, at 6:41 AM, Ted Zlatanov wrote:
> On Fri, 24 Feb 2012 07:35:34 -0800 Aleksey Tsalolikhin
> wrote:
>
> AT> This site has been using CFEngine 2 for 5 years and they have a very
> AT
Thanks guys,
that helped.
But is it normal approach ? I mean if i want to have default xmx value for all
servers that i didn't mention explicitly ?
28.02.2012, 17:05, "no-re...@cfengine.com" :
> Forum: CFEngine Help
> Subject: Re: vars values depending on classes
> Author: zzamboni
> Link to top
Forum: CFEngine Help
Subject: Re: Odd behaviour of splitstring
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,25023,25074#msg-25074
Agreed. Still wishing for the data dumper. Makes this type of thing less
confusing.
___
Help
Forum: CFEngine Help
Subject: Re: vars values depending on classes
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,25068,25077#msg-25077
Not unusual. Typically I list the default value first and then the override
exceptions follow.
any::
"x" int => "1"
policy => "free;
Forum: CFEngine Help
Subject: Re: CFEngine Help: multihomed cf-serverd and ipv6
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,25049,25080#msg-25080
I think that the problem is here. For some reason the server does not know
what user the remote agent is running as.
cf3
Forum: CFEngine Help
Subject: issue with the cfengine website
Author: jonesy1234
Link to topic: https://cfengine.com/forum/read.php?3,25081,25081#msg-25081
All,
I'm having major issue with the website over the last few days since the new
layout of documentation went in. Trying to access the refe
19 matches
Mail list logo