puppetlabs/mcollective-plugins — pull request #28 by jbraeuer (2011-12-09 14:07:20+00:00)
Title: Packages agent - Deploy multiple packages in one run (eg. in a contiuous delivery environment)

Packages agent for MCollective - a agent to install/upgrade/downgrade
multiple packages at a time.

When using MCollective to roll-out changes in a Contiuous Delivery
environment, the included "package" agent has some shortcomings. So I
decided to write a "packages" agent to improve the situation.

I use MCollective to roll out changes from continuous
integration. Rollouts are 1x per hour and can involve up to 20
packages.

These were my requirements, which are now the features of the packages agent

1. The client does not need to know weather a package is already installed or not.
2. Allow install, update and downgrade.
3. Handle multiple packages in one operation.
4. Respond with a list of packages and their exact version/revision installed.
5. Re-try operations when they fail.
6. Include "yum clean expire-cache"

I run CentOS 5 and Scientific Linux 6.1, so thats what it is tested
with. I include ~20 rspec tests for both agent and application.

Have a look at the README file in the agent folder.