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
$ ec2-create-volume –snapshot snap-cb7493a2 -z us-east-1a | |
VOLUME vol-9f00e5f6 1 snap-cb7493a2 us-east-1a creating 2008-09-26T11:52:37+0000 |
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
export EC2_PRIVATE_KEY=~/.ec2/pk-.pem | |
export EC2_CERT=~/.ec2/cert-.pem | |
export EC2_HOME=~/AWS/ec2-api-tools-1.3-24159 | |
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home | |
export PATH=$PATH:$EC2_HOME/bin |
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
# ls /mnt | |
data-store lost+found | |
# ls /mnt/data-store/ | |
lost+found |
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
+ 1418331316.N /scripts/cli : __rvm_parse_args() 726 > [[ -z '' ]] | |
+ 1418331316.N /scripts/cli : __rvm_parse_args() 726 > [[ -n '' ]] | |
+ 1418331316.N /scripts/cli : __rvm_parse_args() 729 > [[ error == '' ]] | |
+ 1418331316.N /scripts/cli : __rvm_parse_args() 729 > [[ 0 -eq 1 ]] | |
+ 1418331316.N /scripts/cli : __rvm_parse_args() 729 > [[ -n '' ]] | |
+ 1418331316.N /scripts/cli : __rvm_parse_args() 15 > [[ -n osx-ssl-certs ]] | |
+ 1418331316.N /scripts/cli : __rvm_parse_args() 17 > rvm_token=osx-ssl-certs | |
+ 1418331316.N /scripts/cli : __rvm_parse_args() 19 > (( 1 > 0 )) | |
+ 1418331316.N /scripts/cli : __rvm_parse_args() 21 > next_token=update | |
+ 1418331316.N /scripts/cli : __rvm_parse_args() 22 > shift |
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
+ 1418205167.N /scripts/cli : __rvm_parse_args() 726 > [[ -z '' ]] | |
+ 1418205167.N /scripts/cli : __rvm_parse_args() 726 > [[ -n '' ]] | |
+ 1418205167.N /scripts/cli : __rvm_parse_args() 729 > [[ error == '' ]] | |
+ 1418205167.N /scripts/cli : __rvm_parse_args() 729 > [[ 0 -eq 1 ]] | |
+ 1418205167.N /scripts/cli : __rvm_parse_args() 729 > [[ -n '' ]] | |
+ 1418205167.N /scripts/cli : __rvm_parse_args() 15 > [[ -n osx-ssl-certs ]] | |
+ 1418205167.N /scripts/cli : __rvm_parse_args() 17 > rvm_token=osx-ssl-certs | |
+ 1418205167.N /scripts/cli : __rvm_parse_args() 19 > (( 1 > 0 )) | |
+ 1418205167.N /scripts/cli : __rvm_parse_args() 21 > next_token=update | |
+ 1418205167.N /scripts/cli : __rvm_parse_args() 22 > shift |
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
class Chef | |
class Resource | |
class S3 | |
class File < Chef::Resource | |
def initialize(name, run_context=nil) | |
super | |
@resource_name = :s3_file | |
@provider = Chef::Provider::S3::File | |
@action = :create |
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
# 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| | |
# Every Vagrant virtual environment requires a box to build off of. | |
config.vm.box = "windows2008r2" | |
config.vm.guest = :windows | |
# Max time to wait for the guest to shutdown |
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
root@host:~# usermod --groups disk -a virtualbox |
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
merb : chef-server (api) : worker (port 4000) ~ Started request handling: Thu Aug 30 16:38:43 +0200 2012 | |
merb : chef-server (api) : worker (port 4000) ~ Routed to: {"admin"=>false, "action"=>"create", "controller"=>"clients", "name"=>"builder"} | |
merb : chef-server (api) : worker (port 4000) ~ Params: {"admin"=>false, "action"=>"create", "controller"=>"clients", "name"=>"builder"} | |
merb : chef-server (api) : worker (port 4000) ~ Failed to authenticate. Ensure that your client key is valid. - (Merb::ControllerExceptions::Unauthorized) | |
/usr/lib/ruby/gems/1.8/gems/chef-server-api-10.12.0/app/controllers/application.rb:56:in `authenticate_every' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:352:in `send' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:352:in `_call_filters' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:344:in `each' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/me |
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
# Configure base_env | |
base_env = Environment() | |
#... | |
# The snippet below enforces having different object instances of the builders | |
# to workaround the shallow copy of env.Clone() | |
other_env = base_env.Clone() | |
del other_env['BUILDERS']['StaticObject'] | |
del other_env['BUILDERS']['SharedObject'] | |
other_env.Tool('gcc') |