Hello.

I have added several new functions to CFEngine in r2711 to make it a bit
easier to use ifvarclass:

* and/or (variable number of arguments) -- calculates logical and/or of
arguments
* not (single argument) -- logical not
* concat (variable number of arguments) -- joins all arguments together.

You could see the examples in

tests/02_classes/01_basic/029.cf and
tests/02_classes/01_basic/030.cf in source code.

The reason to have those functions is explained in bug
https://cfengine.com/bugtracker/view.php?id=123

Please test and see whether those new functions works for you.

-- 
Mikhail Gusarov
Systems Engineer
CFEngine AS

Nydalsveien 33
0484 Oslo
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to