This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
## Author: Kameron Kenny, ExactTarget | |
## Usage: | |
## Output results to stdout: | |
## json_to_pp.rb file.json | |
## Output results to file: | |
## json_to_pp.rb file.json > file.rb | |
require 'pp' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Cookbook Name:: microsoft_scx | |
# Recipe:: default | |
# | |
# Copyright 2011, CoTweet | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# (C) 2012, Kameron Kenny | |
# ExactTarget | |
nl(){ | |
echo "" | |
} | |
print_help(){ | |
nl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# (C) 2012, Kameron Kenny | |
# ExactTarget | |
nl(){ | |
echo "" | |
} | |
print_help(){ | |
nl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'chef/knife' | |
require 'highline' | |
module Limelight | |
class NodeStatus < Chef::Knife | |
deps do | |
require 'chef/search/query' | |
require 'chef/knife/search' | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'chef/knife' | |
require 'highline' | |
module Limelight | |
class EnvironmentStatus < Chef::Knife | |
deps do | |
require 'chef/search/query' | |
require 'chef/knife/search' | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################### | |
# (C)opyright 2012, Kameron Kenny, ExactTarget | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Put this file in .chef/plugins/knife/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import argparse | |
import socket | |
import time | |
CARBON_SERVER = '' | |
CARBON_PORT = 2003 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "app_servers", | |
"default_attributes": { | |
"sudo": { | |
"users": [ | |
"someone" | |
] | |
} | |
}, | |
"json_class": "Chef::Role", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "https://rubygems.org" | |
gem "rake", '~>10.4.2' | |
gem "chef", '11.16.2' | |
gem "foodcritic", '~>4.0.0' | |
gem "highline" | |
gem "knife-ec2" | |
gem "knife-cloud" | |
gem "knife-openstack", '~>1.0.0' | |
gem "knife-inspect" |
OlderNewer