CFEngine Master Policy Framework where to put files

Created: 2017-02-09 — modified: 2017-03-08 — tags: CFEngine

That was a google query I struggled to find answer to

Full discussion is available on Google Groups, but TL;DR is like this:

  • Add this line into your def.json file:

    { "classes": { "services_autorun": ["any"] } }
    
  • Save your custom policies as services/autorun/*.cf