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 | |
# This script will download and install Google Chrome on a fresh installation of Mac OS X. | |
# Usage: curl -fkL gist.github.com/raw/4364590/install-chrome.sh | sh | |
curl -Lo /tmp/Google\ Chrome.dmg https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg; | |
hdiutil attach /tmp/Google\ Chrome.dmg; | |
ditto -rsrc /Volumes/Google\ Chrome/Google\ Chrome.app /Applications/Google\ Chrome.app; | |
hdiutil detach /Volumes/Google\ Chrome; | |
rm /tmp/Google\ Chrome.dmg; |
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
[user] | |
name = Sebastian Otaegui | |
email = [email protected] | |
[credential] | |
helper = osxkeychain | |
[push] | |
default = tracking | |
[merge] | |
tool = diffmerge | |
stat = 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
--- | |
classes: | |
- nginx | |
nginx::mail: false | |
nginx::manage_repo: false | |
nginx::nginx_upstreams: | |
'nexus-real': | |
ensure: present |
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
==> default: Running provisioner: shell... | |
default: Running: /var/folders/w8/_qfs4h512y71h6tl2spqmd3m0000gn/T/vagrant-shell20140605-55627-1sjnuml.sh | |
==> default: Running provisioner: shell... | |
default: Running: /var/folders/w8/_qfs4h512y71h6tl2spqmd3m0000gn/T/vagrant-shell20140605-55627-xuwl22.sh | |
==> default: Running provisioner: shell... | |
default: Running: /var/folders/w8/_qfs4h512y71h6tl2spqmd3m0000gn/T/vagrant-shell20140605-55627-i09t9o.sh | |
==> default: Copied Puppetfile | |
==> default: Puppetfile: OK | |
==> default: Skipping librarian-puppet (Puppetfile unchanged) | |
==> default: Running provisioner: puppet... |
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
==> default: Running provisioner: shell... | |
default: Running: /var/folders/w8/_qfs4h512y71h6tl2spqmd3m0000gn/T/vagrant-shell20140605-55926-1sg2vpm.sh | |
==> default: Running provisioner: shell... | |
default: Running: /var/folders/w8/_qfs4h512y71h6tl2spqmd3m0000gn/T/vagrant-shell20140605-55926-1j6d4j6.sh | |
==> default: Running provisioner: shell... | |
default: Running: /var/folders/w8/_qfs4h512y71h6tl2spqmd3m0000gn/T/vagrant-shell20140605-55926-4osrbo.sh | |
==> default: Copied Puppetfile | |
==> default: Puppetfile: OK | |
==> default: Skipping librarian-puppet (Puppetfile unchanged) | |
==> default: Running provisioner: puppet... |
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
manifests/resource/location.pp:230: $vhost_sanitized = regsubst($vhost, ' ', '_', 'G') | |
manifests/resource/location.pp:233: $location_sanitized_tmp = regsubst($location, '\/', '_', 'G') | |
manifests/resource/location.pp:234: $location_sanitized = regsubst($location_sanitized_tmp, '\\', '_', 'G') | |
manifests/resource/vhost.pp:326: $name_sanitized = regsubst($name, ' ', '_', 'G') | |
manifests/resource/vhost.pp:467: $cert = regsubst($name,' ','_') |
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
#cloud-config | |
# vim: syntax=yaml | |
packages: | |
- lvm2 | |
- mc | |
write_files: | |
- content: | | |
#!/bin/bash -ex | |
echo "this is a test" > /root/test.txt |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "dummy" | |
config.vm.provider "aws" do |aws, override| | |
aws.access_key_id = ENV['AWS_ACCESS_KEY_ID'] |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.require_version ">= 1.5.1" | |
Vagrant.configure("2") do |config| | |
config.vm.box = "dummy" | |
config.vm.provider "aws" do |aws, override| | |
aws.access_key_id = ENV['AWS_ACCESS_KEY_ID'] |
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
Bringing machine 'default' up with 'aws' provider... | |
[fog][WARNING] Unable to load the 'unf' gem. Your AWS strings may not be properly encoded. | |
==> default: HandleBoxUrl middleware is deprecated. Use HandleBox instead. | |
==> default: This is a bug with the provider. Please contact the creator | |
==> default: of the provider you use to fix this. | |
There are errors in the configuration of this machine. Please fix | |
the following errors and try again: | |
AWS Provider: | |
* The following settings shouldn't exist: elb |