Gold radio spotify playlist.

I used to like listening to Gold radio, but they stopped broadcasting and switched to online only, and that's lame/no use for the car/there are ads. So I have written a script that adds their recently played tracks to a spotify playlist. I've set it to run every…

Read this article

Pulled pork recipe.

I recently felt like making pulled pork but finding a recipe online proved to be a challenge, there are so many different ones and they all call for lots of ingredients. I like my cooking to be simple and have the least amount of ingredients as possible, while still making…

Read this article

Autosigning puppet certs.

Currently it's a manual process to sign a hosts certificate request on our puppetmaster, which is fine for normal server installations but as I have been automating more of our cPanel VDS setups there ends up being a bunch of certs that need to signed, which then get forgotten as…

Read this article

Am I in screen?

I keep having the issue of accidently attaching another screen session inside of an already attached screen session on my bouncebox at work (which has about 19 screen sessions running..) and because just doing screen -ls and looking for which one is Attached is too much common sense I wrote…

Read this article

Patching OpenSSL's heartbleed with puppet.

Everyone is aware of the heartbleed exploit for OpenSSL, since it's been all over the news/tech sites so I won't ramble on about it. I'm just going to show how I used puppet to patch our vunerable servers. We currently have over 1500 hosts on puppet, of which the…

Read this article

Nagios: check_puppetagent

I figured now that we have most systems added to puppet that we should probably be monitoring the puppet agent to make sure it's actually running after encounting a few servers where it was stopped/dead. A quick google search revealed a few nagios plugins, but they were more advanced…

Read this article

Kerberos authentication notifications to IRC

At work we use the super awesome FreeIPA (which is a wrapper for things like Kerberos and LDAP) for single sign on to servers and other stuff, but it doesn't really have a way to track what servers users are logging into without trawling through the logs.As I like…

Read this article