Author Archives: bastelfreak

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

Link collection of the week

Here is another collection of links I found during the past week: Comparison of PHP and Ruby How (not) to sanitize your user input How to handle your job (automate that shit!) Broken Performance Tools How to boot Linux in … Continue reading

Posted in 30in30, General, Internet found pieces | Leave a comment

Extending Disk Capacity for KVM Virtual Machines

From time to time, your data grows and a virtual machine is getting filled up. Here is a short tutorial for extending the disk capacity for KVM machines on LVM2: First step: Poweroff the machine. This is a good situation … Continue reading

Posted in 30in30, General, Linux, Short Tips | 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

Installing pry on verrrrry old systems

Everybody loves pry. If you don’t know it: pry is an interactive ruby shell, like irb, but nicer (it hase more colours![and other cool features]). I’ve got a few old CentOS 6 nodes with a very old ruby version: # … Continue reading

Posted in 30in30, General, Linux, Short Tips | 1 Comment

Fixing a messed up git directory

Following situation: You have got a cloned repository in your home directory, you noticed that something changed upstream und you want to get all the fancy changes. You do a: to get the latest tag. What you didn’t check: What … Continue reading

Posted in 30in30, General, Linux, Short Tips | Leave a comment

How to be a good Admin/DevOps/IT person

There are two types of system administrators/DevOps/admins/whatever, the first group has a normal 9-5 job, they stop thinking about IT after work, it is a normal job for them. Then there is another group, these people really love their job, … Continue reading

Posted in 30in30, General, Internet found pieces, Linux, Nerd Stuff | Leave a 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

Augeas Bug while playing with ” in /etc/default/grub

Today seems to be the day of buggy software. I am using the Puppet module herculesteam/augeasproviders_grub to manage entries in /etc/default/grub on Debian and CentOS systems, here is an example: This should result in the following line in /etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT=”nomodeset … Continue reading

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

Cooking Chili con carne

I blogged a few recipes in the past, it is time to continue this series. I blogged this recipe a while back in german, this is an improved version, translated into English: We need for 3 dinners: Ingredients: 3 garlic … Continue reading

Posted in 30in30, General, Recipes | Leave a comment