Vagrant : Using the Git configuration of the host machine

As we continue to use our Vagrant Setup at Amazee Labs for our Projects, we face the problem that the git configuration is not added to the box itself, which leads to many commits from “vagrant@localhost” which makes my inner DevOps-me very angry.

Vagrant has a built-in “file” provisioner, which I want to run if a file is present on the host machine. After some playing around, I found issue 3021 on Github and got the information needed to spot the Home Directory (yes, by using the environment variable of the user) and just copied the config to the box.

config.vm.provision :file, source: '~/.gitconfig', destination: '/home/vagrant/.gitconfig' if File.exists?(ENV['HOME'] + '/.gitconfig')

Yay! No vagrant@localhost commits anymore!

Speaking DevOps’ish Topics? Talk to me!


When the year started to be really awesome with attending the DrupalDevDays in Szeged and lots of good work for TEDxBern. Next week will be DrupalCon Austin which I am really looking forward to.

Currently, sitting in the 22nd story at Time Square in New York and working on the DevOps track for DrupalCon Amsterdam is just an addition to the good things that happen this year!

So what is my role with DrupalCon Amsterdam?

I chair the DevOps Track together with my fellow co-chair, Kris Buytaert. This means we care about the sessions which will be submitted to the Track and we also try to get a diversity of good talks into our Track.

The call is on you now!

Are you passionate about sharing your experiences with the DevOps Culture? Did you achieve perfect testing results by automating everything so your biggest question you think about is if you should use rather vim or emacs?

Then you should consider talking about your experiences at DrupalCon Amsterdam!

To give you a hint which topics we like to see in our Track:


How did you establish DevOps within your organization? We like to hear about your success stories but also learnings you had on your way to establish a new culture.

Log Handling

How do you deal with your Logfiles? Are you visualizing them? Did you come up with a good way of putting this information to work for you and not being a burden to you?


How are your Tests doing today? How do you implement testing during project stages? And how did you start in testing your code?

Continuous Delivery

Do you deliver features continuously and you do not fail in any circumstance? Talk about this!

New Technology

Are you using new Technology which is on the rise and you use it to make the impossible look like it’s easy? Give yourself a go and submit ;)

Convinced? Submit here!

Schweiz ist…

… wenn eine Restaurantkette aufgrund eines Tweets den Preis für eine Flasche Wasser 7.50 CHF auf 6.50 CHF senkt. Für 5dl (!) wohlgemerkt, wir haben es ja. Und man für den Abriss noch Applaus erntet.

Journalismus ist…
… wenn man das dann sogar noch breitschlägt.

Jedoch lobenswert ist…
… Haneburger gibt es gratis. Wer Wasser aus der Flasche will soll zahlen.

Ich suche nach wie vor fieberhaft nach der Ironie im ganzen Spiel und verweise auf den Sturm im Wasserglas.


Re : Travel

The key to preparation is to strike a balance between knowing what’s out there and being optimistically ignorant. The gift of the information age, after all, is knowing your options — not your destiny — and those people who plan their travels with the idea of eliminating all uncertainity and unpredictability are missing out on the whole point of leaving home in the first place.

Gutes Buch, lesenswert!

Rolf Potts – Vagabonding

2014-04-26 13.48.49

Campus Bern : Logging


Yesterday evening I talked about logging with the ELK Stack (Elasticsearch, Logstash, Kibana) and how you can put those tools to work.

We  gathered in the rooms of Meteotest Bern to learn about the Logging Setup we use at Amazee Labs and the possibilities the new tools give you.

Visualization > Plaintext

During the talk I covered also topics of visualizing the Data that is logged. I emphasized the fact that a visual representation of the data gives you a better feeling and understanding how good you are doing.

I already uploaded the Slides on my Slidedeck

However, where to begin?

This is an often asked question we covered in the succeeding discussion round.

There are two things I’d like to point you to if you are interested in getting your hands dirty with Logstash and the other tools:

First: The “Getting started with Logstash” from Jordan Sissel makes a good point to start and is illustrated with lots of good examples.

Second: I talked a bit about the Logstash Book and also ‘advertised’ it as the best few dollars you can spend for a book on this topic.

Thanks go out to Meteotest for supporting the Talk with Beverages and Snacks and Christian for organizing it!