Slackware support

This patch allows cfengine to detect a Slackware Linux host.

This patch was merged into cfengine 2.2.4.


Slackware support for cfengine 2.2.3


Stock cfengine determines that it is running on a Slackware host if it finds the file /etc/slackware-release. Modern versions of Slackware do not ship with this file. The correct file to check is /etc/slackware-version.

This patch checks for the existence of both files (checking the newer file first) and adds classes corresponding to the Slackware version found.