Forum: Cfengine Help
Subject: Re: Cfengine Help: Looking for ideas on people's config
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18246,18259#msg-18259


web_servers::
"site_seq" slist => { @(common_seq), "php", "apache2" } ;

data_servers::
"site_seq" slist => { @(common_seq), "mysql" } ;


If a host is member of web_servers and data_servers classes then site_seq will 
have the latter values (fyi 
http://www.cfengine.org/manuals/cf3-reference.html#policy-in-vars).  Yes, 
having compound classes via and or or is the typical way to combine these lists.

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

Reply via email to