Three Drunken SysAds

Linux, Opensource, Devops and randomness…

Browsing Posts in Automated Build/Deployment

Over the past five years I’ve come to experience the delights of Puppet, CFEngine and Chef across a wide range of deployments ranging from a couple of web servers to host two or three hundred sites, to thousands of servers underpinning an OpenStack-based cloud solution. I’d like to share a couple of thoughts on what […]

LAAAAAAADIESS ANNNNDDD GENNNELMEN…… LET’S GET READYYYYYYY TO RUMMMMMBBBBBLLLLLEEEEEEEE!!!!!!!!! Ok, enough silliness. For the next few sentences anyway… I’ve been using Puppet to mange systems for the last four years (at least!) however a new contract has meant I’ve needed to learn Chef. A few months ago I was looking for a blog post on the […]

This post is more of a reference for myself than anything else, however I thought it might come in handy for some others.  It’s bastardised from the which comes with nventory and will configure an Amazon Linux AMI for you. The install script below installs nventory, rubygems and nginx from source and everything else […]

The last two posts in this series have covered what the overall system will look like and how to ensure your puppet server is ready to receive the files from the SCM repo via capistrano – This post will cover setting up the test server using JenkinsCI and creating some tests. We start by installing […]

I’ve been playing around with Capistrano over the past few weeks and I’ve recently created a way to use the power of Capistrano’s “deploy” and “rollback” features with Puppet and MCollective to enable me to have complete control over the deployment of my system configurations.

OK, it’s May the fourth as I’ve started to write this and I couldn’t resist the title, but I hope that this first post in what I aim to deliver as a series of tutorials will help you move towards full testing, integration and deployment of your systems and turn what could be a five […]

Deploying web applications can be a real nightmare at times, especially when you have numerous SVN repositories of code which all link together when installed on the server to create your application. I’ve started using Murder to try and work around the headaches and apart from a very small issue (which I’ll discuss at the […]

OK, so a few people heard that I was playing with RabbitMQ and MCollective and hinted (less than subtly I might add!) that a blog post might be in order, so here it is.  If you want someone to blame, look no further than @patrickdebois and @garethr :) The original issue was as follows: I […]

Edison now has basic support for templating in kickstart/FAI files: Using the templates http://edison/api/kickstart/ – returns the value from the AutoInstallFile field on the Configuration Item Profile when sent the X-RHN-Provisioning-Mac-0 header The kickstart output is based upon the value in the ConfigurationItemProfile.AutoInstallFile field. There is now support for rudimentary templating: <<hostname>> is replaced by […]

*** UPDATE *** Yesterday’s code didn’t work properly – The latest commit now has this working! *** END UPDATE *** OK, so we still don’t have a decent GUI yet (we’re working on it, honest!) but we do now have support for Kickstart/FAI/Unattend files to be delivered over HTTP via the API on Edison. “How […]

Warning: Unknown: open(/var/lib/php/session/sess_es1sflqab3qsjcu9tgi53atbl6, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0