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
{ | |
"AWSTemplateFormatVersion" : "2010-09-09", | |
"Description" : "Creates an EC2 instance with 2x SSD 40GB and an provisioned IOPS EBS volume.", | |
"Parameters" : { | |
"KeyName" : { | |
"Description" : "Name of the production EC2 KeyPair to enable SSH to the instance", | |
"Type" : "String" | |
}, |
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
50.116.43.60 | |
173.230.130.202 | |
173.230.137.189 | |
173.230.134.214 | |
96.126.125.208 | |
69.164.193.167 | |
198.58.127.218 | |
198.58.101.215 | |
66.175.209.119 | |
198.74.58.191 |
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
region: us-east-1 | |
hosted_zone: &hosted_zone cotap.com | |
key_name: &key_name sandbox_environment | |
cidr_block: &cidr_block "10.123" | |
azs: &azs "us-east-1a,us-east-1c,us-east-1d" | |
az1: &az1 "us-east-1a" | |
az2: &az2 "us-east-1c" | |
az3: &az3 "us-east-1d" |
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 'aws-sdk-core', '2.0.0.rc4' |
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
"AppDNSRecord" : { | |
"Type" : "AWS::Route53::RecordSet", | |
"Properties" : { | |
"HostedZoneName" : { "Fn::Join" : [ "", [ {"Ref" : "HostedZone" }, "." ] ] }, | |
"Name" : { "Fn::Join" : [ "", [ { "Ref" : "MonitoringCNAMERecord" }, "." ] ] }, | |
"Type" : "A", | |
"AliasTarget" : { | |
"HostedZoneId" : { "Fn::GetAtt" : [ "MonitoringELB", "CanonicalHostedZoneNameID" ] }, | |
"DNSName" : { "Fn::GetAtt" : [ "MonitoringELB", "DNSName" ] } | |
}, |
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
knife search 'role:*' | grep 'Node Name' | awk '{print $3}' | sort > /tmp/search | |
knife node list | sort > /tmp/list | |
diff /tmp/search /tmp/list | colordiff |
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
VAGRANT_LOG=debug vagrant up | |
INFO global: Vagrant version: 1.3.0 | |
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.3.0/plugins/communicators/ssh/plugin.rb | |
INFO manager: Registered plugin: ssh communicator | |
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.3.0/plugins/kernel_v1/plugin.rb | |
INFO manager: Registered plugin: kernel | |
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.3.0/plugins/commands/halt/plugin.rb | |
INFO manager: Registered plugin: halt command | |
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.3.0/plugins/commands/box/plugin.rb | |
INFO manager: Registered plugin: box command |
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
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p448.tar.gz | |
tar -xzvf ruby-1.9.3-p448.tar.gz | |
cd ruby-1.9.3-p448/ | |
./configure --prefix=/usr && make && make install DESTDIR=/tmp/ruby-1.9.3 | |
fpm -s dir -t deb -n ruby-1.9.3 -v 1.9.3-p448 \ | |
--description "Self-packaged ruby 1.9.3" \ | |
-C /tmp/ruby-1.9.3 -p ruby-VERSION_ARCH.deb \ | |
-m '[email protected]' --vendor 'Cotap Inc.' \ | |
--license 'Private' \ | |
--url 'https://github.com/cotap' \ |
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
LoadError | |
--------- | |
cannot load such file -- rvm | |
Cookbook Trace: | |
--------------- | |
/home/martin/application-cookbook/vendor/cookbooks/rvm/recipes/default.rb:25:in `require' | |
/home/martin/application-cookbook/vendor/cookbooks/rvm/recipes/default.rb:25:in `from_file' | |
/home/martin/application-cookbook/vendor/cookbooks/rvm/recipes/system_install.rb:20:in `from_file' | |
/home/martin/application-cookbook/vendor/cookbooks/rvm/recipes/system.rb:20:in `from_file' |
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
$ travis encrypt "your_api_key@your_chat_room_name" | |
Please add the following to your .travis.yml file: | |
secure: "CG2F0b+/IkSn0RmFE0N9GjTeKw+FSqEMTpUdYTztH+TThKnE/RvlxLJO4Lg9zIWVYT2ma0EgU5jWdMMPj48/T+rWf/rUt2TXpAPiyJJx/y2ywylOiX/EAs=" | |
Pro Tip: You can add it automatically by running with --add. |