Archive | Code

14 June 2010 ~ Comments Off

Recent MCollective releases and roadmap.

I’ve had two successive Marionette Collective releases recently, I was hoping to have one big one but I was waiting for the Stomp maintainers to do a release and it was taking a while. These two releases are both major feature releases covering major feature sets. See lower down for a breakdown of it all. [...]

Continue Reading

23 May 2010 ~ Comments Off

MCollective pgrep

The unix pgrep utility is great, it lets you grep through your process list and find interesting things. I wanted to do something similar but for my entire server group so built something quick ontop of MCollective. I am using the Ruby sys-proctable gem to do the hard work, it returns a massive amount of [...]

Continue Reading

18 May 2010 ~ Comments Off

Monitoring, another way

Some friends told me for a while about collectd, why I should look at it, why munin is so painful and so on. If you’ve been reading my posts you know I have tweaked a little my $WORK munin install to make it faster and lighter. But I finally took time to explore collectd, and [...]

Continue Reading

07 May 2010 ~ Comments Off

Puppet Concat 20100507

I’ve had quite a lot of contributions to my Puppet Concat module and after some testing by various people I’m ready to do a new release. Thanks to Paul Elliot, Chad Netzer and David Schmitt for patches and assistance. For background of what this is about please see my earlier post: Building files from fragments [...]

Continue Reading

14 April 2010 ~ Comments Off

Mcollective & Xen : naughty things

I already blogged about my experiments with mcollective & xen but I had something a little bigger in my mind. A friend had sent me a video showing some vmware neat features (DRS mainly) with VMs migrating through hypervisors automatically.
So I wrote a “proof of concept” of what you can do with an awesome tool [...]

Continue Reading

11 April 2010 ~ Comments Off

Authorization plugins for MCollective SimpleRPC

Till now The Marionette Collective has relied on your middleware to provide all authorization and authentication for requests. You’re able to restrict certain middleware users from certain agents, but nothing more fine grained.
In many cases you want to provide much finer grain control over who can do what, some cases could be:

A [...]

Continue Reading

06 April 2010 ~ Comments Off

Meet the marionette

Another cool project I keep an eye on for some weeks is “the marionette collective“, aka mcollective. This project is leaded & develloped by R.I. Pienaar, one of the most active people in the puppet world too.
Mcollective is an framework for distributed sysadmin. It relies on a messaging framework and has many features included : [...]

Continue Reading

03 April 2010 ~ Comments Off

MCollective Release 0.4.4

I just released version 0.4.4 of The Marionette Collective. This release is primarily a bug fix release addressing issues with log files and general code cleanups.
The biggest change in this release is that controlling the daemon has become better, you can ask it to reload an agent or all agents and a few other [...]

Continue Reading

30 March 2010 ~ Comments Off

Puppet localconfig parser – 20100330

I had a few reports of problems with Puppet 0.25 and my localconfig.yaml parser, finally Andy Asquelt sent me a patch that resolved the problem, you can download the latest here.
For background about what this is see my original post: What does Puppet …

Continue Reading

18 March 2010 ~ Comments Off

On BeautifulSoup

I’m doing some fairly hardcore screenscraping using Python, so I decided to use BeautifulSoup. After all: Beautiful Soup won’t choke if you give it bad markup Oh yes it will: <html> <body> <a href="/""></a> </body> </html> File “/usr/lib/python2.6/HTMLParser.py”, line 115, in error raise HTMLParseError(message, self.getpos()) HTMLParser.HTMLParseError: malformed start tag, at line 3, column 14 lxml [...]

Continue Reading