Skip to content

Instantly share code, notes, and snippets.

@neilhwatson
Created May 26, 2015 19:03
Show Gist options
  • Select an option

  • Save neilhwatson/37fce1d80e0a5e914886 to your computer and use it in GitHub Desktop.

Select an option

Save neilhwatson/37fce1d80e0a5e914886 to your computer and use it in GitHub Desktop.
newatson@ltipc682:~/.cfagent/inputs$ cat rootw.cf
body common control
{
bundlesequence => { "main", };
}
bundle common main
{
vars:
"cf_version" string => "1.2.3";
classes:
"neil_cf_version_${cf_version}" expression => "any";
}
newatson@ltipc682:~/.cfagent/inputs$ cf-promises --show-classes -f ./rootw.cf |grep neil_
neil_cf_version_1_2_3 source=promise
neil_cf_version___cf_version_ source=promise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment