Devops and Old Git Branches

A guest blog post I wrote on managing git branches when doing devops.

When doing Devops we all know that using source code control is a “good thing” — indeed it would be hard to imagine doing Devops without it. But if you’re using Puppet and R10K for your configuration management you can end up having hundreds of old branches lying around — branches like XYZ-123, XYZ-123.fixed, XYZ-123.fixed.old and so on. Which branches to cleanup, which to keep? How to easily cleanup the old branches? This article demonstrates some git configurations and scripts  that make working with hundreds of git branches easier…

Go to Devops and Old Git Branches to read the full article.



SaltStack Ubuntu Hostname

SaltStack currently doesn’t set the hostname correctly on Debian/Ubuntu. For example, this won’t work: Here’s a little shell script I wrote, to get around this problem: Then apply it using cmd.script, for example: more…

Terraform Presentation

Here are the slides from my Terrraform presentation at the Sydney Puppet Meetup. more…

Building the development version of Terraform

Instructions on how to build the development version of Terraform. First you need to install Go, I have a script for this that would be easy to adapt for your needs. It installs Go, but also downloads some common projects (go-bindata, lint) and my own […] more…

Git and mercurial abort: revision cannot be pushed

I’ve been migrating some repositories from Mercurial to Git; as part of this migration process some users want to keep using Mercurial locally until they have time to learn git. First install the hg-git tools; for example on Ubuntu: Make sure the following is in […] more…

SaltStack Essential Reading

A list of ‘Essential Reading’ for SaltStack. A collection of useful links, mostly for myself but possibly helpful to others. How Do I Use Salt States,  States tutorial and Pillar Walkthrough – the tutorials Highstate data structure definitions and  Understanding YAML – helpful for understanding […] more…

Setup Arduino on Debian

Some notes on setting up Arduino on Debian. Add yourself to the required groups – dialout and tty. Confirm the port /dev/ttyUSB0 is being used by Arduino – tail messages then plug in the Arduino. Logout and login (or run a login shell). Confirm permissions. […] more…

Next Page »