Skip to content

Instantly share code, notes, and snippets.

View bbetter173's full-sized avatar

Ben Bettridge bbetter173

View GitHub Profile
@bbetter173
bbetter173 / monzo-alertmanager-config.yaml
Created December 20, 2021 06:32 — forked from milesbxf/monzo-alertmanager-config.yaml
Monzo's Alertmanager Slack templates
###################################################
##
## Alertmanager YAML configuration for routing.
##
## Will route alerts with a code_owner label to the slack-code-owners receiver
## configured above, but will continue processing them to send to both a
## central Slack channel (slack-monitoring) and PagerDuty receivers
## (pd-warning and pd-critical)
##
@bbetter173
bbetter173 / gist:f516e11408da30983637
Last active December 1, 2015 23:58 — forked from jonuwz/gist:9864479
controlling freeipa with ruby
#!/opt/puppet/bin/ruby
require 'httpclient'
require 'base64'
require 'gssapi'
require 'json'
module IPAcommon
@@IPAlist_element = {
:hostgroup => 'cn',