JSON in CFEngine 3.6, coming soon, offers a great way to separate your
data from your policy. Consider this example. It sets the promiser
class if the host's unqualified hostname is found in the hosts list. If
you want add or remove hosts or classes, just edit the JSON file. Look
for this in EFL after CFEngine's 3.6 release.