Jaime Gago Condensing Information Systems From the Vapor Of Data


VIM / Bash Prompt Setup For Day to Day Systems Engineering (Git as VCS)

tl;dr: grab my GIST for VIM and bash prompt setup.

In these days of highly automated systems, I work with several languages/DSLs and environments, Ruby, vimlogoPython,Puppet,Ansible, YAML, JSON, Ubuntu,CentOS. In order to optimize my workflow,  I've customized my  VIM and prompt setup quite a bit (all with open source code) and so I thought to share it. I usually work from an Os X laptop (as my host for Linux VMs managed via Vagrant)thus I'm including a couple of tricks for iTerm2, finally some bash prompt goodness.


Integrating PagerDuty with Sensu


I'm currently implementing a monitoring pipeline based on Sensu for the monitoring data routing and Graphite for the actual storage and calculations, it wouldn't be complete without a notification systems to it so I thought I would document using PagerDuty at the end of the pipe.

There isn't much to it but the information is spread and not always straight forward (at least it wasn't to me) so hopefully this help other adepts of monitoring love!


Dynamic Guest(RHEL6 and cousins)/Host(Os X) Time Zone Sync in Vagrant (VirtualBox Provider)

If like me you're in charge of the vagrant base boxes supporting a team with folks in different time zones you might find this hack useful. I use it to bring the time zone of a Screen Shot 2013-03-30 at 6.07.36 PMRHEL 6 or cousins (tested on CentOS 6.4) guest VM to the same as an Os X host (tested on 10.7.5) in Vagrant, VirtualBox provider environment. I'm leveraging an Os X CLI utility  with a shell provisioner but it shouldn't be too much of a deal to refactor for Ansible/Puppet/Chef provisioner. I'm pretty sure there are better ways of doing this, so if you have a more elegant solution please describe it in the comments!


Running IT like a Soccer Team

While thinking about Devops culture metaphors (I like them a lot and have used and abused them through out my career) I enjoyed David Lutz post "Running IT like a rock band" but there was something sensiabout that metaphor that bothered me. I also remember a tweet stating something along these lines "Show me your rockstar developer and I'll show you your bottleneck" and the analogy of a soccer team as opposed to the Rock band started to materialize. When John Willis presented at the Silicon Valley Devops last month his 100% culture focused "State Of The Union" presentation added another layer. In particular his emphasis on systems thinking (the fact that I've always had "systems" in my job title is most likely not a coincidence).

It then was clear to me why I was having this second thoughts about "Running IT like a rock band", that is, I like to think of the IT Industry as a science based industry, and in that regard I think a soccer team has much more in common with IT than a Rock Band, here is why.

Filed under: DevOps Continue reading

Handling directory copy and syncing aka “recursive copy” in Ansible 1.1

This post is no longer relevant as the copy module can do recursive copy since 1.5, also an rsync was module was added
While working on the Matterhorn Ansible playbook I've had to find a solution for copying the content of a directory from the host running the playbook to a group of hosts.Screen Shot 2013-03-30 at 6.07.36 PM

Turns out there are at least 3 ways of doing this and I thought summarizing them in one post would help other folks, worst case scenario it'll serve as a reminder for myself, so here were go.

Filed under: DevOps Continue reading

Ansible playbook YAML “one flag per line” syntax

Screen Shot 2013-03-30 at 6.07.36 PM

I've started playing around with Ansible for Command Orchestration and Config Management and so far so good. Since I was not happy with having all the module flags in one line in my playbooks I looked for a way to break them into multiple lines.

Since Ansible playbooks are written in YAML one google search later I was on my way, here is how it works at this point, or at least according to my testing using Ansible 1.1 on a CentOS 6.3 box.

- name: "creating a config file from a rendered template"
  template: >

is equivalent to

- name: "creating a config file from a rendered template"
  template: src=/some/path/foobar.j2 dest=/some/pathfoobar.conf owner=root group=wheel mode=0777
Filed under: DevOps 3 Comments

DevOps Twitter List

Someone was complaining of DevOps withdrawals on devops-toolchain, I'm getting all juice on twitter (quite frankly more than I can digest) so here are the folks/accounts I follow that feed my DevOps cravings

Filed under: DevOps Continue reading

Running Rundeck Behind Apache Using mod_proxy on CentOS/RHEL6

As I just got Rundeck working behind Apache httpd with mod_proxy and since I didn't find  a dedicated tutorial  on the inter webs I thought to make a quick summary. 


ChefConf 2012: I was there!

Last week I attended the inaugural ChefConf 2012, the 1st conference about Chef organized by the company at its origin i.e. OpsCode; here are some "post-conf thoughts".

If there was only one thing to note from this gathering it would be this: Amazing Community. These folks lead by example when it comes to being friendly, positive, knowledgable and willing to share, the "No Asshole Rule" is a default in real life and online. As a matter of fact even though I'm just getting started with Chef I already feel like a member of the tribe. Although I have to admit attending ChefConf 2012 wasn't a coincidence as I've been reading, listening, participating to a lot of DevOps conversations for "some" time now and Configuration Management tools such as Chef are a corner stone.


This “DevOps” thing

If you're curious about the "devops" movement there was a very good presentation by John Willis from Devops Cafe at the last "Build a Cloud Day" that I thought was a pretty good summary, truth is he sold me on his incoming book "Devops Cookbook" and the Lean Startup (which I don't think he's getting any royalties from as far as I know). Oh man Cloud and Devops in the same post, buzz word jackpot =D. Video and slides embedded from bliptv and slideshare.