Created
February 12, 2012 15:43
-
-
Save jan-matejka/1809107 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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