Category Archives: Puppet

Alles rund um Automatisierung und Puppet

Vox Pupuli – Code of the Week 2

This is a new blog series that we would like to introduce. At Vox Pupuli, we receive many Pull Requests. We receive so much awesome code, that isn’t really appreciated. In the past, some of our members sent out tweets if … Continue reading

Posted in General, Linux, Puppet | Tagged , , | Leave a comment

Vox Pupuli – Code of the Week 1

This is a new blog series that we would like to introduce. At Vox Pupuli, we receive many Pull Requests. We receive so much awesome code, that isn’t really appreciated. In the past, some of our members sent out tweets … Continue reading

Posted in General, Linux, Puppet | Tagged , , | Leave a comment

Short Tip: Installing msgpack on outdated boxes (ruby1.9.1)

I’m using msgpack to serialize the data between my puppet agents and the masters. Recently I had to puppetize an old Debian Wheezy box. I’ve to install msgpack in advance: # gem install msgpack Building native extensions. This could take … Continue reading

Posted in General, Linux, Puppet, Short Tips | Leave a comment

rubocop-rspec magic: Fixing RSpec/InstanceVariable

We recently introduced RSpec/InstanceVariable into our RuboCop configuration at Vox Pupuli. Using instance variables is not considered best practice so we are currently migrating away from them. Here is en example of the old code style: The variables are later … Continue reading

Posted in General, Linux, Puppet | Leave a comment

Create a simple streaming replication for postgres with puppet

I need to build a postgres setup for a important database. The idea is to one master and one-many slaves that can serve read only access. The slaves will work in a hot-standby mode where they continuously receive data from … Continue reading

Posted in General, Linux, Puppet | Leave a comment

Create ssh keys with puppet on a server + pubkey exchange

There are a few solutions to generate ssh keys on a puppet master/server or copy them from hiera to a box. I have got several boxes and every box needs to have ssh access to every other box. I don’t … Continue reading

Posted in General, IT-Security, Linux, Puppet | 1 Comment

Fixing and improving rspec tests

Today I stumbled across our puppet module for gluster. My goal for the next days: modulesync with voxpupuli default settings Fix rspec tests to work with our new test matrix (newer puppet versions and STRICT_VARIABLES=yes) Make a new release for … Continue reading

Posted in 30in30, General, Linux, Puppet | Leave a comment

Getting started with Hiera

I am using puppet since the end of 2012 and I finally found a use case for Hiera. This is my way of implementing it: What is Hiera Hiera is split into two parts: The backend is a key/value store … Continue reading

Posted in 30in30, General, Linux, Puppet | Leave a comment

DRY – Don’t Repeat Yourself

Don’t Repeat Yourself – This is an important mantra, I’m trying to work like this for the past years, but the fancy abbreviation never came up my mind, I just found it online. What does it mean? We system administrators … Continue reading

Posted in 30in30, General, Linux, Puppet | 1 Comment

#puppethack is coming again!

The event description: ########### Join us for #puppethack, our online puppet community hack day, on December 15th! #puppethack is a collaborative, relaxed online puppet community hack day. It will be an opportunity for Puppet community members and Puppet Labs employees … Continue reading

Posted in 30in30, General, Linux, Nerd Stuff, Puppet | Leave a comment