Jaime Gago Condensing Information Systems From the Vapor Of Data


Create MCollective plugin native OS packages with…MCollective!

Today I wanted to install the MCollective Process Agent plugin and so I searched to no luck for a native OS package for ubuntu (ended up filling a 500px-Panneau_marionette.svgticket with puppetlabs). I was on my way to do some effing package making  but some guy on IRC ("rc" you know who you are ^^ ) saved me a lot of time with a single mco command. It turns out MCollective can create native os packages for its plugins, and since I haven't found any doc on the topic I thought I document it here.


  • MCollective (doh!)
  • Your distribution building tools (e.g. for ubuntu/deb build-essentials, debhelpers, pbuilder, etc)
  • The plugin source repository

Disclaimer: I'm a total newbie to MCollective and quite new to deb packaging, I have no idea about how much this is reproducible for other plugins, but it worked perfectly for this one. The only problem I got was not having the building tools installed.

It's actually quite straight forward:

1)Clone the repo on a host with your OS package building tools and MCollective

$>git clone https://github.com/puppetlabs/mcollective-process-agent.git

2)Run "mco plugin package" from within the plugin repo

$>cd mcollective-process-agent
$>mco plugin package #You might have to sudo it
Created package mcollective-process-agent_3.0.0-1
Created package mcollective-process-common_3.0.0-1
Created package mcollective-process-client_3.0.0-1

3)Have a beer.



Comments (0) Trackbacks (0)

No comments yet.

Leave a comment

No trackbacks yet.