Category Archives: puppet

puppet-ceph update

End of last year, a new puppet-ceph module was bootstrapped with the ambitious goal to re-unite the dozens of individual efforts. I’m very happy with what we’ve accomplished. We are making progress although our community is mixed, but more importantly, … Continue reading

Posted in ceph, puppet | Leave a comment

HOWTO OpenStack Grizzly and Ceph with Puppet on Ubuntu 12.04

For months I’ve asked people working with puppet modules on a daily basis for a HOWTO that I could follow to setup a new cluster with the Grizzly OpenStack release. Such a HOWTO is not needed for people who develop … Continue reading

Posted in ceph, grizzly, openstack, puppet | 1 Comment

gerritexec: continuous integration one-liner

gerritexec is a command line tool listening to gerrit on a designated project. On each new patchset, it will: git clone the project git pull the patchset cd in the git tree and run a script positively review the patchset … Continue reading

Posted in ceph, gerrit, puppet | Leave a comment

setting up an openstack-installer test environment

openstack-installer is a data oriented replacement of puppet-openstack. The following HOWTO runs some basic tests on vagrant virtual machines that are preserved for introspection with: # vagrant status control_basevm running # vagrant ssh control_basevm vagrant@control-server:~$ ps -ax | grep keystone … Continue reading

Posted in grizzly, openstack, puppet | Leave a comment

rsnapshot puppet module

puppet-rsnapshot is a rsnapshot puppet module published on the puppet forge under the name loic/rsnapshot. It is based on the following assumptions: All machines have rsync over ssh All backups consist of the entire file system of the machine It … Continue reading

Posted in puppet | Leave a comment

puppet master hierarchy organization and conventions

April hosts dozens of services on less than ten hardware machines and less than fifty virtual machines. Their configuration is centralized in a puppet master repository. The order of magnitude is not expected to change in the next few years. … Continue reading

Posted in puppet | 1 Comment

anatomy of an OpenStack based integration test for a backuppc puppet module

An integration test is run by jenkins within an OpenStack tenant. It checks that the backuppc puppet module is installed ssh root@$instance test -f /etc/backuppc/hosts || return 3 A full backup is run ssh root@$instance su -c ‘”/usr/share/backuppc/bin/BackupPC_serverMesg \ backup … Continue reading

Posted in Essex, debian, openstack, puppet | Leave a comment

realistic puppet tests with jenkins and OpenStack (part 2/2)

The April infrastructure uses puppet manifests stored in a git repository. On each commit, a jenkins job is run and it performs realistic tests in a dedicated OpenStack tenant. If the test is successfull, jenkins pushes the commit to the … Continue reading

Posted in Essex, debian, openstack, puppet | 1 Comment

realistic puppet tests with jenkins and OpenStack (part 1/2)

A git repository containing a puppet module is bound to a jenkins project. When the repository changes, jenkins boots a virgin puppetmaster OpenStack instance in a dedicated tenant. It runs the run-jenkins-test-in-openstack.sh script in the puppetmaster instance. In addition to … Continue reading

Posted in debian, jenkins, openstack, puppet | Leave a comment

creating a Debian GNU/Linux Wheezy puppet client for OpenStack

A Debian GNU/Linux wheezy image is booted and modified to set its hostname based on the content of the http://169.254.169.254/latest/meta-data/hostname metadata. The /etc/rc.local file is changed to run puppet agent –waitforcert 60 at boot time. The instance is then snapshoted … Continue reading

Posted in Essex, debian, openstack, puppet | Leave a comment