Skip to content

Instantly share code, notes, and snippets.

@neilhwatson
Last active September 21, 2015 12:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neilhwatson/7b0d9f4d415edbcbd4a1 to your computer and use it in GitHub Desktop.
Save neilhwatson/7b0d9f4d415edbcbd4a1 to your computer and use it in GitHub Desktop.
body common control
{
custom::
bundlesequence => { "custom", };
!custom::
bundlesequence => { "main", };
}
bundle agent main
{
reports:
"OK";
}
$ cf-agent -vD custom ./rlinder.cf
verbose: CFEngine Core 3.7.0
....
verbose: Checking policy with command '"/home/neil/.cfagent/bin/cf-promises" -c "./rlinder.cf"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment