Managing Yum software groups with CFEngine
With its group commands (groupinstall, groupremove, …), Yum is able to install a set of packages to quickly set up a system for a specific task.
This blog post is a great introduction to Yum software groups
In CFEngine, it is now possible (feature merged in master, but not yet released) to handle such groups through yum_group package_method.
Some examples:
- Installing perl-runtime and basic-desktop groups:
|
|
- Removing debugging group:
|
|
You can find here a full example (with runtime output), and here the body of the yum_group package_method
This has only been tested on a CentOS-6.2 system, any feedback is welcome !