Forum: Cfengine Help
Subject: Re: Separating clients into groups
Author: daveseff
Link to topic: https://cfengine.com/forum/read.php?3,20902,20909#msg-20909

Lucas, 

If you want to reference a machine name in you class, You may want to look at 
using the classify function:


classes: 
             "mgts" or => { classify("fully.qualified.domain1"), 
classify("fully.qualified.domain2") };



This way dots and dashed are converted in to underscores which cfengine 
recognises as real classes. 

-Dave

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

Reply via email to