Skip to content

Instantly share code, notes, and snippets.

@edyu
Created April 13, 2013 07:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edyu/5377453 to your computer and use it in GitHub Desktop.
Save edyu/5377453 to your computer and use it in GitHub Desktop.
config.rb
# If you want to customize configuration options do so here:
# provider :vagrant
provider :aws
vagrant.merge!( :identity_file => "#{ENV['HOME']}/.vagrant.d/insecure_private_key",
:ssh => {
:lab_ip => "192.168.33.10",
:lab_port => 22,
:lxc_port => 22
},
:cpus => 4,
:memory => 4096 )
aws.merge!( :identity_file => ENV['AWS_IDENTITY'],
:ssh => {
:lab_port => 22,
:lxc_port => 22
},
:aws_access_key_id => ENV['AWS_ACCESS_KEY_ID'],
:aws_secret_access_key => ENV['AWS_SECRET_ACCESS_KEY'],
:aws_ssh_key_id => ENV['AWS_SSH_KEY_ID'],
:region => "us-west-1",
:availability_zone => "us-west-1b",
:aws_instance_arch => "amd64",
:aws_instance_type => "t1.micro" )
artifacts ({ "chef-client-log" => "/var/log/chef/client.log",
"chef-client-stacktrace" => "/var/chef/cache/chef-stacktrace.out" })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment