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…

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…

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…

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…

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…