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
| { | |
| "variables": { | |
| "precise_iso_url": "http://ubuntu.osuosl.org/releases/12.04.5/ubuntu-12.04.5-server-amd64.iso", | |
| "precise_iso_checksum": "769474248a3897f4865817446f9a4a53", | |
| "vbox_guest_additions_url": "http://dlc-cdn.sun.com/virtualbox/4.3.20/VBoxGuestAdditions_4.3.20.iso", | |
| "vbox_guest_additions_sha256": "9ab48f44ac26a6deb374cb5fe6bad103bbf4fdf5186140e2d40ebe48bd01f3ea", | |
| "user_home": "{{ env `HOME` }}", | |
| "precise_box_ovf": "{{ env `HOME` }}/.vagrant.d/boxes/ubuntu-VAGRANTSLASH-precise64/12.04.4/virtualbox/box.ovf" | |
| }, | |
| "builders": [ |
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
| #!/usr/bin/env python | |
| import json | |
| import sys | |
| from pprint import pprint | |
| files = sys.argv[1:] | |
| if not files: | |
| files = ["/dev/stdin"] |
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
| { | |
| "AutoScalingGroupARN": "arn:aws:autoscaling:us-east-1:159116025302:autoScalingGroup:af673450-8a4d-4273-9038-d10765e8cc8d:autoScalingGroupName/cas-prod-12-18-2014", | |
| "HealthCheckGracePeriod": 300, | |
| "SuspendedProcesses": [], | |
| "DesiredCapacity": 1, | |
| "Tags": [ | |
| { | |
| "ResourceType": "auto-scaling-group", | |
| "ResourceId": "cas-prod-12-18-2014", | |
| "PropagateAtLaunch": true, |
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
| { | |
| "AutoScalingGroups": [ | |
| { | |
| "AutoScalingGroupARN": "arn:aws:autoscaling:us-east-1:159116025302:autoScalingGroup:af673450-8a4d-4273-9038-d10765e8cc8d:autoScalingGroupName/cas-prod-12-18-2014", | |
| "HealthCheckGracePeriod": 300, | |
| "SuspendedProcesses": [], | |
| "DesiredCapacity": 1, | |
| "Tags": [ | |
| { | |
| "ResourceType": "auto-scaling-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
| #!/usr/bin/env bash -e | |
| AWSCLI=$(command -v aws) | |
| AWS_CMD="${AWSCLI} --profile confsol" | |
| BASE_NAME="grails" | |
| BUILD_SUFFIX="${GIT_COMMIT}-${BUILD_NUMBER}" | |
| DATESTAMP=$(date +%m%d%Y) | |
| RESOURCE_NAME="${BASE_NAME}-${ENV}-${DATESTAMP}-${BUILD_SUFFIX}" | |
| get_ami() { |
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
| { | |
| "LaunchConfigurations": [ | |
| { | |
| "UserData": "I2Nsb3VkLWNvbmZpZwojCiMjIHJ1biBjb21tYW5kcwojIyBkZWZhdWx0OiBub25lCiMjIHJ1bmNtZCBjb250YWlucyBhIGxpc3Qgb2YgZWl0aGVyIGxpc3RzIG9yIGEgc3RyaW5nCiMjIGVhY2ggaXRlbSB3aWxsIGJlIGV4ZWN1dGVkIGluIG9yZGVyIGF0IHJjLmxvY2FsIGxpa2UgbGV2ZWwgd2l0aAojIyBvdXRwdXQgdG8gdGhlIGNvbnNvbGUKIyMgLSBpZiB0aGUgaXRlbSBpcyBhIGxpc3QsIHRoZSBpdGVtcyB3aWxsIGJlIHByb3Blcmx5IGV4ZWN1dGVkIGFzIGlmCiMjICAgcGFzc2VkIHRvIGV4ZWN2ZSgzKSAod2l0aCB0aGUgZmlyc3QgYXJnIGFzIHRoZSBjb21tYW5kKS4KIyMgLSBpZiB0aGUgaXRlbSBpcyBhIHN0cmluZywgaXQgd2lsbCBiZSBzaW1wbHkgd3JpdHRlbiB0byB0aGUgZmlsZSBhbmQKIyMgICB3aWxsIGJlIGludGVycHJldGVkIGJ5ICdzaCcKIyMKIyMgTm90ZSwgdGhhdCB0aGUgbGlzdCBoYXMgdG8gYmUgcHJvcGVyIHlhbWwsIHNvIHlvdSBoYXZlIHRvIGVzY2FwZQojIyBhbnkgY2hhcmFjdGVycyB5YW1sIHdvdWxkIGVhdCAoJzonIGNhbiBiZSBwcm9ibGVtYXRpYykKcnVuY21kOgogLSBzZWQgJzIgaSBKQVZBX09QVElPTlM9Ii1YbXM2ZyAtWG14NmcgLVhYOlBlcm1TaXplPTI1Nm0gLVhYOk1heFBlcm1TaXplPTUxMm0iJyAtaSAvZXRjL2luaXQuZC9qZXR0eQogLSBzM2NtZCAtYyAvZXRjL3MzY2ZnIGdldCAiczM6Ly9ucmctY29uZi9ucmctY |
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
| require 'rake/clean' | |
| require 'rake/task' | |
| desc 'run install bower' | |
| task :npm_install_bower do | |
| system('npm install bower') | |
| end | |
| desc 'run bower install' | |
| task :bower_install do |
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
| ==> master: Running provisioner: shell... | |
| master: Running: /var/folders/w8/_qfs4h512y71h6tl2spqmd3m0000gn/T/vagrant-shell20150106-67083-8rg792.sh | |
| ==> master: Copied Puppetfile | |
| ==> master: Puppetfile: OK | |
| ==> master: Skipping librarian-puppet (Puppetfile unchanged) | |
| ==> master: Running provisioner: puppet... | |
| ==> master: Running Puppet with default.pp... | |
| ==> master: Info: Loading facts in /etc/puppet/modules/concat/lib/facter/concat_basedir.rb | |
| ==> master: Info: Loading facts in /etc/puppet/modules/puppi/lib/facter/windows_common_appdata.rb | |
| ==> master: Info: Loading facts in /etc/puppet/modules/puppi/lib/facter/last_run.rb |
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
| ==> master: Running provisioner: shell... | |
| master: Running: /var/folders/w8/_qfs4h512y71h6tl2spqmd3m0000gn/T/vagrant-shell20150105-62375-1ojdp7d.sh | |
| ==> master: Copied Puppetfile | |
| ==> master: Puppetfile: OK | |
| ==> master: Skipping librarian-puppet (Puppetfile unchanged) | |
| ==> master: Running provisioner: puppet... | |
| ==> master: Running Puppet with default.pp... | |
| ==> master: Info: Loading facts in /etc/puppet/modules/concat/lib/facter/concat_basedir.rb | |
| ==> master: Info: Loading facts in /etc/puppet/modules/puppi/lib/facter/windows_common_appdata.rb | |
| ==> master: Info: Loading facts in /etc/puppet/modules/puppi/lib/facter/last_run.rb |
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
| #!/usr/bin/env bash | |
| BAKDIR=/tmp/backup | |
| prereqs () { | |
| cat << EOF | |
| ${0} assumes you have the following components: | |
| * tar | |
| * s3cmd configured (run s3cmd --configure) |