Today I am releasing the version 3 of hENC, the radically simple hierarchical External Node Classifier (ENC) for CFEngine (version 2 was released at the end of May and added support for data containers).
This version adds new features and bug fixes, namely:
- implemented
!COMMANDS
: a!
primitive is added to specify commands; three commands exist currenty:!RESET_ACTIVE_CLASSES
to make hENC forget about any class that was activated up to that point,!RESET_CANCELLED_CLASSES
ditto for cancelled classes, and!RESET_ALL_CLASSES
that makes hENC forget about any class that was activated or cancelled; - fixed enc.cf, so that it is possible to run the henc module more than once during the same agent run;
- added a Changelog;
- improved tests: tests have been added for the new features and the whole test suite has been improved to support the TAP protocol; for example, it’s now it’s possible to use the
prove
utility to verify if hENC works correctly on your system before trying the installation.