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
# http://unfoldthat.com/2012/06/02/quick-deploy-chef-solo-fabric.html | |
from fabric.api import settings, run, sudo, reboot, put, cd, env | |
AWS_ACCESS_KEY = '...' | |
AWS_SECRET_KEY = '...' | |
AWS_KEYPAIR_NAME = '...' | |
AWS_SECURITY_GROUPS = ['default'] |
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
# | |
# Vagrantfile for testing | |
# | |
Vagrant::configure("2") do |config| | |
# the Chef version to use | |
config.omnibus.chef_version = "11.4.4" | |
def configure_vbox_provider(config, name, ip, memory = 384) | |
config.vm.provider :virtualbox do |vbox, override| |