Forum: CFEngine Help
Subject: Re: ifvarclass IN Reports
Author: phnakarin
Link to topic: https://cfengine.com/forum/read.php?3,22973,22974#msg-22974

Does it work if you add a dummy class to reports stanza?

reports:
 cfengine_3::
  "$(test_disks) : ok" ifvarclass => canonify("$(test_disks)_ok");
  "$(test_disks) : fixed" ifvarclass => canonify("$(test_disks)_fixed");
  "$(test_disks) : err" ifvarclass => canonify("$(test_disks)_err");

CFE probably doesn't like reports promises in class "any"

Cheers,
--Nakarin

_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to