Skip to content

Instantly share code, notes, and snippets.

@eoly
eoly / ubuntu_puppet_repo.sh
Created May 5, 2014 16:32
Install Ubuntu Puppet Labs Repo
#!/bin/bash
wget https://apt.puppetlabs.com/puppetlabs-release-precise.deb
sudo dpkg -i puppetlabs-release-precise.deb
sudo apt-get update
@eoly
eoly / keybase.md
Last active August 29, 2015 14:07

Keybase proof

I hereby claim:

  • I am eoly on github.
  • I am eoly (https://keybase.io/eoly) on keybase.
  • I have a public key whose fingerprint is 9413 20EE 3A40 3057 A081 9A82 92E9 94D6 E56E D946

To claim this, I am signing this object:

@eoly
eoly / flapjack.rb
Last active August 26, 2016 14:27
Sensu Flapjack extension compatible with Sensu 0.25.x
# Sends events to Flapjack for notification routing. See http://flapjack.io/
#
# This extension requires Flapjack >= 0.8.7 and Sensu >= 0.13.1
#
# In order for Flapjack to keep its entities up to date, it is necssary to set
# metric to "true" for each check that is using the flapjack handler extension.
#
# Here is an example of what the Sensu configuration for flapjack should
# look like, assuming your Flapjack's redis service is running on the
# same machine as the Sensu server: