I hereby claim:
- I am thehar on github.
- I am thehar (https://keybase.io/thehar) on keybase.
- I have a public key whose fingerprint is 41D0 40A0 290E AC6F F346 7301 E300 2B3E 5644 7AB4
To claim this, I am signing this object:
#!/bin/bash | |
metric=$1 | |
metric_file=`echo $1|sed 's/\./\//g'`.wsp | |
server=servername | |
port=2003 | |
# git clone https://github.com/graphite-project/whisper.git | |
# to the following directory for whisper tools | |
bindir=/usr/local/bin | |
storage=/opt/graphite/storage |
#!/usr/bin/env /opt/sensu/embedded/bin/ruby | |
require 'rubygems' if RUBY_VERSION < '1.9.0' | |
require 'sensu-plugin/metric/cli' | |
require 'socket' | |
class DiskGraphite < Sensu::Plugin::Metric::CLI::Graphite | |
option :scheme, | |
:description => "Metric naming scheme, text to prepend to metric", |
I hereby claim:
To claim this, I am signing this object:
server { | |
listen 80 default deferred; | |
client_max_body_size 4G; | |
server_name graphite; | |
keepalive_timeout 5; | |
# path for static files | |
root /opt/graphite/webapp/content; | |
index index.html; |
# references | |
# http://wiki.opscode.com/display/chef/Chef+Repository | |
# http://blog.ibd.com/howto/deploy-wordpress-to-amazon-ec2-micro-instance-with-opscode-chef/ | |
# on laptop | |
$ sudo gem install chef | |
$ sudo gem install net-ssh net-ssh-multi highline fog | |
$ mkdir ~/git | |
$ cd ~/git |
AIR PRICES: | |
• Compressed Air or CO2 | |
• One fill $5.00 (any size tank) | |
• Unlimited fills $10.00 (must be playing at facility) | |
We have compressed air available, up to 4500 psi* | |
*No Scubas are allowed on premises or in parking lot* | |
PAINT PRICES: | |
*Paintballs: |
include Opscode::Aws::Ec2 | |
#Auto locates and attached ebs devices based on the data bag they reside in. The following test cases need to be performed | |
# Create multiple resources with new node: PASS | |
# | |
# Re-attach multiple resources after a reboot: PASS | |
# | |
# Create resources across 2 runs. First run creates first raid set, second run re-attaches then creates: PASS | |
# |
include Chef::Mixin::Command | |
action :create do | |
size = new_resource.size | |
volumes = new_resource.volumes.times.map{|i| (i == 0 ? "/dev/sdf" : "/dev/sdf#{i}") } | |
setra = new_resource.blockdev_setra | |
volume_group = new_resource.volume_group | |
logical_volume = new_resource.name | |
mdadm_device = new_resource.mdadm_device | |
mount_point = new_resource.mount_point |
pool_members_search = search(:node, "roles:loadbalancer AND chef_environment:#{node.chef_environment}") | |
pool_members = pool_members_search.map { |ip| ip[:ipaddress] } |
currentdir = File.dirname(FILE_) | |
sys_user = ENV["USER"] | |
log_level :info | |
log_location STDOUT | |
node_name sys_user | |
client_key "#{ENV["HOME"]}/.chef/#{ENV["KNIFE_ENV"]}/#{ENV["USER"]}.pem" | |
validation_client_name "chef-validator" | |
validation_key "#{ENV["HOME"]}/.chef/#{ENV["KNIFE_ENV"]}/validator.pem" |