This file contains hidden or 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 - | |
#=============================================================================== | |
# vim: softtabstop=4 shiftwidth=4 expandtab fenc=utf-8 spell spelllang=en | |
#=============================================================================== | |
set -x | |
set -e | |
SALT_BOOTSTRAP_SCRIPT="salt-bootstrap.sh" | |
SALT_BOOTSTRAP_DOWNLOAD="http://bootstrap.saltstack.org" | |
exec 2>&1 > /tmp/awsbootstrap.log |
This file contains hidden or 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" : "US West 2 (Oregon) Development VPC :: SG, Routing, EIPs :: Avalability Zones: 2A,2B,2C", | |
"Parameters" : { | |
}, | |
"Mappings" : { |
This file contains hidden or 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" : "US East Development Staging :: ELBs, RDS, DNS, WWWs, and Workers :: AZ-1B and AZ-1C", | |
"Parameters" : { | |
"AGInstanceType" : { | |
"Type" : "String", | |
"Description" : "Instance Type for autoscaling group", |
This file contains hidden or 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
"LaunchConfig" : { | |
"Type" : "AWS::AutoScaling::LaunchConfiguration", | |
"Metadata" : { | |
"AWS::CloudFormation::Init" : { | |
"config" : { | |
"files" : { | |
"/tmp/boot-strap-nat00.sh" : { | |
"source" : { "Fn::Join" : ["", [ | |
"http://", { "Ref" : "AWS::Region" }, "-development-appname", ".s3.amazonaws.com/path/to/boot-strap-nat00.sh" | |
]]} |
This file contains hidden or 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
Newrelic - install repo: | |
cmd.run: | |
- name: rpm -Uvh http://download.newrelic.com/pub/newrelic/el5/i386/newrelic-repo-5-3.noarch.rpm | |
- unless: rpm -qa | grep newrelic-repo | |
newrelic-sysmond: | |
pkg: | |
- installed | |
- require: | |
- cmd: Newrelic - install repo |
This file contains hidden or 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 | |
set -e | |
set -x | |
CURRENT=`pwd` | |
RBENV_VERSION=1.9.3-p429 | |
#[ -z "$1" ] && { echo "No version set - check pillar data"; exit 1 } |
NewerOlder