Forum: CFEngine Help
Subject: Re: CFEngine Help: Thoughts about some cfengine design decisions?
Author: eystein
Link to topic: https://cfengine.com/forum/read.php?3,24288,24322#msg-24322

Hi Jesse,

)"]


If you have improvements to the reference manual, please post a ticket at 
http://bug.cfengine.com, and we'll incorporate it.





Perhaps I am missing your point here, but the following works fine.


bundle agent test

{
vars:
  "list" slist => { 'foo', 'bar', 'baz' };
classes:
  "Has_${list}" expression => isplain("/tmp/${list}");

reports:
cfengine_3::

"I have ${list} in tmp"
  ifvarclass => "Has_${list}";

}


Hope this helps.

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

Reply via email to