Running Splunk 5 behind Nginx with SSL and auth

Many articles have been written about this topic, yet none of them seem to fulfill the basic premise I wanted: get it working.

The problem for me was if I ran SSL, the redirect was talking plain http, and would try to redirect to the remote Splunk using http. My …

more ...

Ubuntu 12.04 Vagrant Box

Continuing my recent toying with Vagrant, I needed an Ubuntu 12.04 VM for some client work.

Now, there are plenty of Ubuntu Vagrant boxes out there, but I didn't notice any that:

  1. were minimal server installs
  2. had Puppet AND Chef installed

The latter point is the one that drove …

more ...


Perl::Critic and Modern::Perl

I've tended to use Perl::Critic for keeping my Perl in some semblence of a readable state for a while now. And since I started using newer Perls, I've also used Modern::Perl instead of 'use strict; use warnings; use feature..'

However, using Modern::Perl means your perlcritic check will …

more ...


Puppet3 variable behaviour in templates

I had a weird problem with Puppet 3.2.3 today.

In an older template I had a check for a facter fact (variable) as true:

<% if @has_phpmyadmin -%>
Include conf.d/<%= @fqdn -%>.conf
Include conf.d/phpMyAdmin.conf
<% end -%>
<% if @has_phpxhprof -%>
Include conf.d/xhprof.conf
<% end -%>

This used to …

more ...


Blogging with Octopress

It seems like most of the techie world are ripping out Wordpress and using Jekyll or Octopress these days. So I thought I would too...

There is, for me at least, good reason for this. I've long hated having to run a database for the sake of it. I've implemented …

more ...