Skip to content

Instantly share code, notes, and snippets.

@jan-matejka
Created February 12, 2012 15:43
Show Gist options
  • Select an option

  • Save jan-matejka/1809107 to your computer and use it in GitHub Desktop.

Select an option

Save jan-matejka/1809107 to your computer and use it in GitHub Desktop.
bundle agent sysuses {
vars:
"packages[dev_cpk]" slist => { "apg" };
"packages[dev_python]" slist => { "python-setuptools" };
classes:
# here defines dependencies
"sysuse_dev_python" expression => "sysuse_dev_cpk";
methods:
sysuse_dev_python::
"packages ${packages[dev_python]}" usebundle => packages_add("${packages[dev_python]}");
sysuse_dev_cpk::
"packages ${packages[dev_cpk]}" usebundle => packages_add("${packages[dev_cpk]}");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment