CFEngine Help: Re: vars values depending on classes

2012-02-28 Thread no-reply
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 => "

Re: CFEngine Help: Re: vars values depending on classes

2012-02-28 Thread Denis Zinevich
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 > Au

CFEngine Help: Re: vars values depending on classes

2012-02-28 Thread no-reply
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&

CFEngine Help: Re: vars values depending on classes

2012-02-28 Thread no-reply
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

vars values depending on classes

2012-02-28 Thread Denis Zinevich
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: