Re: methods, usebundle and loops

2012-01-25 Thread Mark Burgess
PS: Stuck on cfengine 3.0.4 / 3.0.5p1 for this exercise, due to a slew of QA requirements. I'm afraid that's your problem. ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Re: CFEngine Help: Re: methods, usebundle and loops

2012-01-25 Thread Daniel V. Klein
aired("echo_$(name)_run"). This means that you will no longer be able to use the prefix-class notation, but you can still use an ifvarclass => "echo_$(name)_run" attribute instead. -Dan On Jan 25, 2012, at 1:51 AM, no-re...@cfengine.com wrote: > Forum: CFEngine Help &g

CFEngine Help: Re: methods, usebundle and loops

2012-01-25 Thread no-reply
Forum: CFEngine Help Subject: Re: methods, usebundle and loops Author: davidlee Link to topic: https://cfengine.com/forum/read.php?3,24644,24648#msg-24648 Simon, You say "And I need to check the whole namespace in my production promises for collisions!" It's worth adopting for

RE: CFEngine Help: Re: methods, usebundle and loops

2012-01-24 Thread Simon Oxwell
ngine Help: Re: methods, usebundle and loops Forum: CFEngine Help Subject: Re: methods, usebundle and loops Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,24644,24646#msg-24646 It's like toddni said - you are defining the same class on every call, and classes defined by

CFEngine Help: Re: methods, usebundle and loops

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: methods, usebundle and loops Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,24644,24646#msg-24646 It's like toddni said - you are defining the same class on every call, and classes defined by a classes attribute are global. Th

CFEngine Help: Re: methods, usebundle and loops

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: methods, usebundle and loops Author: toddnni Link to topic: https://cfengine.com/forum/read.php?3,24644,24645#msg-24645 Hi Simon, only problem that I see is here commands: !echo_run:: "/usr/bin/echo $(name)" classes => if_repai

methods, usebundle and loops

2012-01-24 Thread Simon Oxwell
Hi, I've got an issue with calling bundles with a loop - variables and classes set on the first call to the bundle don't seem to get cleared on the second and subsequent calls. So for example: body common control { version => "1.0.0"; bundlesequence => { "example"