Archive | ruby

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

21 March 2010 ~ Comments Off

More Puppet Offloading

Puppet really shines at configuration management, but there are some things it is not good at, for instance file sourcing of large files, or managing deep hierarchies. Fortunately, most of this efficiency issues will be addressed in a subsequent major version (thanks to some of my patches and other refactorings). Meanwhile it is interesting to [...]

Continue Reading

21 March 2010 ~ Comments Off

More Puppet Offloading

Puppet really shines at configuration management, but there are some things it is not good at, for instance file sourcing of large files, or managing deep hierarchies.

Fortunately, most of this efficiency issues will be addressed in a subsequent major…

Continue Reading

09 February 2010 ~ Comments Off

Building RPMs from Ruby gems

I often need to deploy Ruby gems across many CentOS servers. I prefer to use the native OS package management tools (rpm + yum) rather than using Ruby gems. Here's how to build RPMs from Ruby gems using gem2rpm. I am assuming you have the necessary build tools installed (if not, yum install rpmdevtools) and [...]

Continue Reading

28 January 2010 ~ Comments Off

Puppet Memory Usage – not a fatality

As every reader of this blog certainly know, I’m a big fan of Puppet, using it in production on Days of Wonder servers, up to the point I used to contribute regularly bug fixes and new features (not that I stopped, it’s just that my spare time is a scarce resource nowadays). Still, I think [...]

Continue Reading

28 January 2010 ~ Comments Off

Puppet Memory Usage – not a fatality

As every reader of this blog certainly know, I’m a big fan of Puppet, using it in production on Days of Wonder servers, up to the point I used to contribute regularly bug fixes and new features (not that I stopped, it’s just that my spare t…

Continue Reading

27 January 2010 ~ Comments Off

Put your ruby in my ERB

Today I started installing a reverse proxy at $WORK. I choose to follow this way, and all my DNS data is stored in my CMDB. Once again, the solution came from #puppet ! You can embed some “pure” ruby code in ERB templates. And, yes, you can query your database !

<%
dbh = DBI.connect("DBI:Mysql:yourbase:mysql.mycorp.com", "you", [...]

Continue Reading

05 October 2009 ~ Comments Off

Puppet Camp 2009 debriefing time!

I attended Puppet Camp 2009 in San Francisco last week. It was a wonderful event and I could meet a lot of really smart developers and sysadmins from a lot of different countries (US, Australia, Europe and even Singapore).
The format of the event (an unconference with some scheduled talks in the morning) was really great. [...]

Continue Reading

05 October 2009 ~ Comments Off

Puppet Camp 2009 debriefing time!

I attended Puppet Camp 2009 in San Francisco last week. It was a wonderful event and I could meet a lot of really smart developers and sysadmins from a lot of different countries (US, Australia, Europe and even Singapore).

The format of the event (an …

Continue Reading