Forum: CFEngine Help
Subject: Re: conditional setting of a variable
Author: toddnni
Link to topic: https://cfengine.com/forum/read.php?3,23180,23211#msg-23211

Hi davidlee,

I dare to say that your example with ifvarclass

class:
"runtime_condition" and => { ...foo ; bar ... };

vars:
v string => "always1";
v string => "always2";
v string => "sometimes1"
ifvarclass => "runtime_condition";

works fine on 3.2.0. I have been using promises like this recently. I don't 
remember did this work on 3.1.5.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to