Chapter 6.  Cfengine declarative language: Classes

Classes are "if/then" tests but the test is hidden "under the hood".

Example - this shell script will only be executed on Linux systems:

shellcommands:

    linux:: "/var/cfengine/inputs/sh/check_rpmforge_repo_is_installed_and_disabled.linux.sh" inform=off ifelapsed=2