Archive | ruby

02 February 2012 ~ Comments Off

Apache reverse-proxying and the REMOTE_USER variable

I spent an alarming amount of time yesterday attempting to make the most of Apache’s ridiculously easy mod_auth_kerb module for SSO Kerberos authentication with a little in-house Sinatra app I’ve been working on. Apparently Kerberos within nginx or rub…

Continue Reading

28 January 2012 ~ Comments Off

Writing Oldskool Plugins

Earlier this week I wrote about Oldskool which is a Gem extendable search tool. Today I want to show how to create a plugin for it to query some custom source. We’ll build a plugin that shows Puppet Type references, you can see how it will look in the image, click for a larger version. [...]

Continue Reading

26 January 2012 ~ Comments Off

Oldskool: A Gem extendible search engine

Back in the day The Well had a text based conference system, you used dial in, then telnet and later ssh to their server and interacted with other members through a text system called PicoSpan. Eventually things moved to the web and it became a lot more forum like. The thing that I really loved [...]

Continue Reading

14 December 2011 ~ Comments Off

Common Messaging Patterns Using Stomp – Part 5

This is a post in a series of about Middleware for Stomp users, please read the preceding parts starting at 1 before continuing below. Today changing things around a bit and not so much talking about using Stomp from Ruby but rather how we would monitor ActiveMQ. The ActiveMQ broker has a statistics plugin that [...]

Continue Reading

13 December 2011 ~ Comments Off

Common Messaging Patterns Using Stomp – Part 4

This is an ongoing post in a series of posts about Middlware for Stomp users, please read parts 1, 2 and 3 of this series first before continuing below. Back in Part 2 we wrote a little system to ship metrics from nodes into Graphite via Stomp. This solved the goals of the problem then [...]

Continue Reading

12 December 2011 ~ Comments Off

Common Messaging Patterns Using Stomp – Part 3

Yesterday I showed a detailed example of a Asynchronous system using MOM. Please read part 1 and part 2 of this series first before continuing below. The system shown yesterday was Asynchronous since there is no coupling, no conversation or time constraints. The Producer does not know or care what happens to the messages once [...]

Continue Reading

11 December 2011 ~ Comments Off

Common Messaging Patterns Using Stomp – Part 2

Yesterday I gave a quick intro to the basics of Message Orientated Middleware, today we’ll build something kewl and useful. Graphite is a fantastic statistics as a service for your network package. It can store, graph, slice and dice your time series data in ways that was only imaginable in the dark days of just [...]

Continue Reading

11 December 2011 ~ Comments Off

Common Messaging Patterns Using Stomp – Part 1

As most people who follow this blog know I’m quite a fan of messaging based architectures. I am also a big fan of Ruby and I like the simplicity of the Stomp Gem to create messaging applications rather than some of the more complex options like those based on Event Machine (which I am hard [...]

Continue Reading

02 November 2011 ~ Comments Off

Puppet Extension Points – part 2

After the first part in this series of article on Puppet extensions points, I’m proud to deliver a new episode focusing on Types and Providers. Note that there’s a really good chapter on the same topic in James Turnbull and Jeff McCune Pro Puppet (which I highly recommend if you’re a serious puppeteer). Also note [...]

Continue Reading

02 November 2011 ~ Comments Off

Puppet Extension Points – part 2

After the first part in this series of article on Puppet extensions points, I’m proud to deliver a new episode focusing on Types and Providers.

Note that there’s a really good chapter on the same topic in James Turnbull and Jeff McCune Pro…

Continue Reading