Skip to content

Instantly share code, notes, and snippets.

@jblaine
Created July 25, 2012 20:33
Show Gist options
  • Save jblaine/3178502 to your computer and use it in GitHub Desktop.
Save jblaine/3178502 to your computer and use it in GitHub Desktop.
bundle agent whatever
{
vars:
"method" string => "generic";
redhat|centos::
"packagenames" slist => { "whatever" };
packages:
any::
"${packagenames}"
package_policy => "add",
package_method => ${method};
}
# RESULT: Undeclared promise body "${method}()" was referenced in a promise
# USING double quotes around "${method}" gives same error
# USING () instead of {} gives same error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment