Gruf, a Gerrit command line utility

Tue 16 February 2016 by Lars Kellogg-Stedman Tags gerrit gruf

(See also the followup to this article.)

I've recently started spending more time interacting with Gerrit, the code review tool used both by OpenStack, at review.openstack.org, and by a variety of other open source projects at GerritForge's GitHub-linked review.gerrithub.io. I went looking for command line tools ...

read more

A systemd-nspawn connection driver for Ansible

Mon 08 February 2016 by Lars Kellogg-Stedman Tags ansible systemd

I wrote earlier about systemd-nspawn, and how it can take much of the fiddly work out of setting up functional chroot environments. I'm a regular Ansible user, and I wanted to be able to apply some of those techniques to my playbooks.

Ansible already has a chroot module, of course ...

read more

Folding long lines in Ansible inventory files

Sun 07 February 2016 by Lars Kellogg-Stedman Tags ansible pull-request

If you have an Ansible inventory file that includes lots of per host variables, it's not unusual for lines to get long enough that they become unwieldly, particularly if you want to discuss them in an email or write about them in some context (e.g., a blog post).

I've ...

read more

Systemd-nspawn for fun and...well, mostly for fun

Sun 07 February 2016 by Lars Kellogg-Stedman Tags systemd containers qemu raspberrypi

systemd-nspawn has been called "chroot on steroids", but if you think of it as Docker with a slightly different target you wouldn't be far wrong, either. It can be used to spawn containers on your host, and has a variety of options for configuring the containerized environment through the use ...

read more

Installing pyspatialite on Fedora

Tue 17 November 2015 by Lars Kellogg-Stedman Tags fedora gis

If you should find yourself wanting to install pyspatialite on Fedora -- perhaps because you want to use the Processing plugin for QGIS -- you will first need to install the following dependencies:

  • gcc
  • python-devel
  • sqlite-devel
  • geos-devel
  • proj-devel
  • python-pip
  • redhat-rpm-config

After which you can install pyspatialite using pip by running:

CFLAGS=-I ...
read more