Skip to content

Instantly share code, notes, and snippets.

@eoly
eoly / ubuntu_puppet_repo.sh
Created May 5, 2014
Install Ubuntu Puppet Labs Repo
View ubuntu_puppet_repo.sh
#!/bin/bash
wget https://apt.puppetlabs.com/puppetlabs-release-precise.deb
sudo dpkg -i puppetlabs-release-precise.deb
sudo apt-get update
View keybase.md

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 Aug 26, 2016
Sensu Flapjack extension compatible with Sensu 0.25.x
View flapjack.rb
# 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: