Forum: Cfengine Help
Subject: Re: use variable in compound classes
Author: rpaulmier
Link to topic: https://cfengine.com/forum/read.php?3,17599,17658#msg-17658

Thx for your reply.

However, when configuring update.conf, several examples found on the web are 
using the following contruction:



control:

  policyhost = ( myhost )

grant:
  
  ${policyhost}::
    /etc                                        *



In that case, it works. Should I conclude it's working only on update.conf, or 
that compound class are allowing varclass if only the construction is simple 
(use ${policyhost}:: but not '!${policyhost}.${some_other_class}'  ?

Thanks in advance for your help.

--
rémi

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

Reply via email to