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!

amsterdam_logo

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:

Culture

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?

Testing

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!

Campus Bern : Logging

2014-04-22_LoggingWithLogstash_BastianWidmer_CampusBern

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!

Quote

Vor 2570 Tagen …

Vor 2570 Tagen schrieb jemand folgenden Kommentar zu einem Startup das gerade ihr Minimalprodukt vorstellte:

The only problem is that you have to install something. See, it’s not the same as USB drive. Most corporate laptops are locked and you can’t install anything on them. That’s gonna be the problem. Also, another point where your USB comparison fails is that USB works in places where you don’t have internet access.

Unterdessen zählt Dropbox eine grosse Anzahl Kunden, beendete die “USB-Stick” Ära und hat gestern auch tatkräftig akquiriert (Hackpad, Loom).

Zum Glück gibt man den negativen Kommentaren nicht immer so viel Gewicht.

gefunden im Archiv von HN

Abt. kalter Informationskrieg

Laut Experten wäre es für die Amerikaner durch die Funkbox möglich, Aufklärungsbilder der Schweizer abzufangen oder den Jet gar lahmzulegen. «Es wäre erstaunlich, wenn es keine Hintertür im Programm eines solchen Bauteils gibt», sagt Richard P. Morva, Präsident von Swiss Crows, der Schweizer Vereinigung von Spezialisten für elektronische Kriegsführung. Politiker und Militärs reagieren konsterniert auf die Recherchen der «SonntagsZeitung». CVP-Chef Christophe Darbellay sagt: «Ich verlange klare und öffentliche Antworten von der Armasuisse, von Bundesrat Ueli Maurer und unabhängigen Spezialisten – wenn es diese überhaupt noch gibt

Quelle : der Bund

Willkommen im 21 Jahrhundert.

Wo ist er? // Bin ich in der Schweiz ?

where

Diese Frage lässt sich per sofort einfach beantworten. Auf meiner Webseite findet man nun stündlich aktualisiert meinen Standort. Sobald ich das Land verlasse, schaltet das ganze auf “No” angereichert mit Informationen wie  man mich erreichen kann :-)

Die Grundidee des Ganzen kommt von Michi, ich habe die Standortinformationen aber noch über die Foursquare API abgehandelt,sodass ich nichts manuell anpassen muss.