Forum: Cfengine Help
Subject: Re: laying a tripwire and firing the checksum_alerts class
Author: phnakarin
Link to topic: https://cfengine.com/forum/read.php?3,21544,21554#msg-21554

What if you use classes => if_repaired() instead of checksum_alerts:: class, 
would it work?

files:
 linux::
  "/etc"
          changes => detect_filesystem_changes,
...
...
          classes => if_repaired("changes_detected");

reports:

 changes_detected::

  "cf3: The tripwire on $(sys.host):/etc has been tripped. ";


Cheers,
--Nakarin

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

Reply via email to