I hereby claim:
- I am warwickp on github.
- I am warwickp (https://keybase.io/warwickp) on keybase.
- I have a public key whose fingerprint is D0A7 9D61 65BC 4BE5 49B2 00CE 8608 B5AD 581A 1B18
To claim this, I am signing this object:
# 'notify-throttle-host' command definition | |
define command{ | |
command_name notify-throttle-host | |
command_line /usr/local/bin/ruby $USER1$/throttle_alert.rb "$CONTACTEMAIL$" "[nagios] $NOTIFICATIONTYPE$ Host: $HOSTNAME$ $HOSTSTATE$" "at $LONGDATETIME$ \n\n $NOTIFICATIONTYPE$ : $HOSTNAME$ ($HOSTADDRESS$) is $HOSTSTATE$ \n\n: $HOSTOUTPUT$ \n" | |
} | |
# 'notify-throttle-service' command definition | |
define command{ | |
command_name notify-throttle-service | |
command_line /usr/local/bin/ruby $USER1$/throttle_alert.rb "$CONTACTEMAIL$" "[nagios] $NOTIFICATIONTYPE$ Service: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" "at $LONGDATETIME$ \n\n $NOTIFICATIONTYPE$ : Service $SERVICEDESC$ on $HOSTALIAS$ ($HOSTADDRESS$) is $SERVICESTATE$ \n\n: $SERVICEOUTPUT$ \n" |
#!/usr/bin/env ruby -rubygems | |
############################################################ | |
# throttle the notifications we send | |
# get 3 arguments | |
# "EMAIL" "SUBJECT" "BODY" | |
############################################################ | |
unless ARGV.length == 3 | |
puts "usage: <> email subject body" | |
exit |
certificates/ | |
config/ | |
config/client.rb.example | |
config/server.rb.example | |
config/rake.rb | |
config/solo.rb.example | |
cookbooks/ | |
Rakefile | |
roles/ | |
site-cookbooks/ |
http { | |
... | |
#local chef server | |
upstream chef_api_local { | |
server localhost:4000; | |
} | |
#local chef webui | |
upstream chef_webui_local { |
Source is a MySQL backup (xtrabackup) of 21 GiB | |
1: Tar/GZ | |
time tar -zcf 2011-04-05_20-48-27.tar.gz 2011-04-05_20-48-27 | |
real 19m25.423s | |
user 18m46.210s | |
sys 0m23.309s | |
result: 5.7G (27% of original size) |
## Knife plugin to generate an OpenSSH config file from a Chef search | |
# From Harvest. www.getharvest.com | |
# | |
# Source: https://github.com/harvesthq/knife-plugins | |
# | |
# See http://wiki.opscode.com/display/chef/Knife+Plugins | |
# See http://www.openbsd.org/cgi-bin/man.cgi?query=ssh_config&sektion=5 | |
# | |
## Install | |
# Place in .chef/plugins/knife/sshgen.rb |
$ grep 'node\[:network\]\[:interfaces\].' \#chef.log | |
10:15 < mkent_> node[:network][:interfaces][:eth1][:addresses] | |
22:24 <+Damm> msf, just pulling in the node[:network][:interfaces] attributes | |
20:44 < randybias> node[:network][:interfaces][:eth0][:addresses] | |
09:13 < sinBot> so fujin if I wanted to use that in an erb template, it'd be <%= @node[:network][:interfaces]["en1"]["addresses"].select{address}.flatten.to_str %> ? | |
12:27 < cwj> if i have an ipv4 ip address set on eth0, will it always be in @node[:network][:interfaces][:eth0][1] ? | |
02:19 < pluesch0r> however, i don't seem to be able to access @node[:network][:interfaces]... from inside the attributes file. | |
19:52 <@jtimberman> or node[:network][:interfaces][:eth0][:addresses][0] | |
20:09 < seryl> well, it's searchable. I'm trying the @node[:network][:interfaces][:eth0][:addresses][0] route, but getting blanks right now, playing around with it in chef solo | |
20:29 < kallistec> pp node[:network][:interfaces].current_attribute |
I hereby claim:
To claim this, I am signing this object:
| Site | Leaf Cert Alg | Chain Cert(s) Alg(s) | | |
| ------------- |:-------------:|:-----:| | |
|zendesk.com | SHA256withRSA | SHA384withRSA (!!) | | |
| github.com | SHA256withRSA | SHA256withRSA | | |
|twitter.com | SHA256withRSA | SHA256withRSA| | |
| wordpress.com | SHA256withRSA | SHA256withRSA | | |
| asana.com| SHA256withRSA | SHA256withRSA, root: ```SHA1withRSA```| | |
| trello.com| SHA256withRSA | SHA256withRSA, root: ```SHA1withRSA```| | |
| basecamp.com | SHA256withRSA | ```SHA1withRSA``` | | |
| zapier.com | SHA256withRSA | ```SHA1withRSA``` | |
Site | Leaf Cert Alg | Chain Cert(s) Alg(s) |
---|---|---|
zendesk.com | SHA256withRSA | SHA384withRSA (!!) |
github.com | SHA256withRSA | SHA256withRSA |
twitter.com | SHA256withRSA | SHA256withRSA |
wordpress.com | SHA256withRSA | SHA256withRSA |
asana.com | SHA256withRSA | SHA256withRSA, root: SHA1withRSA |
trello.com | SHA256withRSA | SHA256withRSA, root: SHA1withRSA |
basecamp.com | SHA256withRSA | SHA1withRSA |
zapier.com | SHA256withRSA | SHA1withRSA |