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 => "1" policy => "free; other:: "x" int => "2" policy => "free; other_other:: "x" int => "3" policy => "free; Just remember that vars are evaluated before classes so that other and other_other should be define elsewhere. Often in a common bundle. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine