> I got: Unable to parse class expression: ->@(webservers)
I think you need to use it without the quotes.
--Diego
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
On 09/24/2012 05:27 AM, Aleksey Tsalolikhin wrote:
> Dear Mark,
>
>Thanks for your kind reply.
>
> On Sun, Sep 23, 2012 at 12:46 AM, Mark Burgess wrote:
>>> The body of a promise details and constrains its nature. This promise
>>> is constrained by the ifvarclass attribute.
>> That's true but
Forum: CFEngine Help
Subject: Re: CFEngine 3.3.5 does not like {{{ classes: "webclass" or => {
"@(webservers)" }; }}} (Was: Re: CFEngine Help: Re: False report of "no
constrants" in constrained classes promises.)
Author: phnakarin
Link to topic: https://cfengine
Forum: CFEngine Help
Subject: Re: False report of "no constrants" in constrained classes promises.
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,27501,27526#msg-27526
There's no action for a classes promise with nothing in the body but an
"ifvarclass" because of the way ifvar
On Sun, Sep 23, 2012 at 12:46 AM, Mark wrote:
>
> I think what you are trying to write is this:
>
>
> vars:
> "webservers" slist => { "web01", "web02", "web03" };
>
> classes:
>
>"webclass" or => { "@(webservers)" };
Dear Mark,
I tried the above, and it works standalone, bu
Dear Mark,
Thanks for your kind reply.
On Sun, Sep 23, 2012 at 12:46 AM, Mark Burgess wrote:
>> The body of a promise details and constrains its nature. This promise
>> is constrained by the ifvarclass attribute.
>
> That's true but there are no constraints that determine the class.
I still
Forum: CFEngine Help
Subject: Re: False report of "no constrants" in constrained classes promises.
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,27501,27506#msg-27506
On 09/23/2012 02:42 AM, Aleksey Tsalolikhin wrote:
> Situation: I want to target a promise to a certain group