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 provision | |
[Berkshelf] This version of the Berkshelf plugin has not been fully tested on this version of Vagrant. | |
[Berkshelf] You should check for a newer version of vagrant-berkshelf. | |
[Berkshelf] If you encounter any errors with this version, please report them at https://github.com/RiotGames/vagrant-berkshelf/issues | |
[Berkshelf] You can also join the discussion in #berkshelf on Freenode. | |
[Berkshelf] Updating Vagrant's berkshelf: '/Users/awaxa/.berkshelf/default/vagrant/berkshelf-20130915-14032-11xlkwu-default' | |
[Berkshelf] Using awaxstation (0.1.0) | |
[Berkshelf] Installing homebrew (1.4.0) from site: 'http://cookbooks.opscode.com/api/v1/cookbooks' | |
[default] Chef 11.6.0 Omnibus package is already installed. | |
[default] Running provisioner: chef_solo... |
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 bash | |
[ "$1" == "-d" ] && set -vx # debug | |
conf=$HOME/.nsupdate-aws.conf | |
check="http://ifconfig.me/ip" | |
if [ -f $conf ] | |
then |
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
{ | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"route53:Get*", | |
"route53:List*" | |
], | |
"Resource": [ | |
"*" |
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
{ | |
"Statement": [ | |
{ | |
"Action": [ | |
"route53:ChangeResourceRecordSets", | |
"route53:GetChange" | |
], | |
"Effect": "Allow", | |
"Resource": [ | |
"arn:aws:route53:::hostedzone/ZONEID_GOES_HERE" |
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 bash | |
# 1: source directory, ex: /mnt/stuff/Pictures | |
# 2: s3 prefix, ex: s3://awaxa-archive/archive/Pictures | |
find "$1" -depth -type f -print0 | while read -d $'\0' file ; do | |
dirname=$(dirname "$file") | |
filename=$(basename "$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
#!/usr/bin/env bash | |
FETCH="curl -s http://www.awaxa.com/ | grep awaxa | wc -l | sed s/[^0-9]*//g" | |
QUEUE=$(eval $FETCH) | |
if [ $QUEUE -eq 1 ] ; then | |
echo success | |
fi |
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
[root@awaxa ~]# puppet help help help help help | |
%%%% | |
%%%%-( | |
_%%%%%_/ \ ' / | |
_%%%%%%%% - (_) - | |
_%%%%%%%/ \% / , \ | |
%%%%%%%%%\\ \_ | |
%%%%%% \ \\ | |
) /\_/ |
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
delete mode 100644 vendor/puppet/cache/boxen-puppet-boxen-3.0.2.tar.gz | |
delete mode 100644 vendor/puppet/cache/boxen-puppet-homebrew-1.4.1.tar.gz | |
delete mode 100644 vendor/puppet/cache/boxen-puppet-ruby-6.5.0.tar.gz | |
delete mode 100644 vendor/cache/aws-sdk-1.8.2.gem | |
delete mode 100644 vendor/cache/uuidtools-2.1.3.gem | |
delete mode 100644 vendor/puppet/cache/boxen-puppet-nodejs-3.2.9.tar.gz | |
delete mode 100644 vendor/puppet/cache/boxen-puppet-ruby-6.3.4.tar.gz | |
delete mode 100644 vendor/cache/boxen-2.0.3.gem | |
delete mode 100644 vendor/cache/highline-1.6.19.gem | |
delete mode 100644 vendor/cache/json-1.8.0.gem |
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
[root@master ~]# /opt/puppet/bin/puppet cert list --all | |
+ "master" (4F:F1:16:A5:FB:53:6E:C4:6C:BF:39:83:C9:DD:64:95) (alt names: "DNS:master", "DNS:puppet") | |
+ "pe-internal-broker" (75:6F:45:51:99:A9:BA:39:C2:C7:6D:DB:C1:F3:56:1C) (alt names: "DNS:master", "DNS:master.localdomain", "DNS:pe-internal-broker", "DNS:stomp") | |
+ "pe-internal-dashboard" (D5:60:C1:2F:2D:8F:B1:65:E0:02:71:5A:15:A2:BC:51) | |
+ "pe-internal-mcollective-servers" (57:57:19:3F:3D:26:33:63:B0:2A:36:CD:E7:B4:A3:61) | |
+ "pe-internal-peadmin-mcollective-client" (D4:4C:FB:FE:FA:72:EF:6B:71:21:D8:FA:68:4D:66:47) | |
+ "pe-internal-puppet-console-mcollective-client" (7E:E4:0A:93:F6:9C:C7:35:2D:95:DF:2A:FE:57:A9:CF) | |
[root@master ~]# /opt/puppet/bin/puppet --version | |
2.7.19 (Puppet Enterprise 2.7.1) |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure('2') do |config| | |
config.vm.provider :digital_ocean do |provider, override| | |
provider.image = 'Ubuntu 14.04 x64' | |
end | |
end |
OlderNewer