Skip to content

Commit

Permalink
update chef path and values, boost vm ram
Browse files Browse the repository at this point in the history
  • Loading branch information
phlipper committed Jan 23, 2011
1 parent 0ad877d commit 61c95d3
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions Vagrantfile
Expand Up @@ -11,13 +11,24 @@ Vagrant::Config.run do |config|
# folder, and the third is the path on the host to the actual folder.
# config.vm.share_folder "v-data", "/vagrant_data", "../data"

config.vm.customize do |vm|
vm.memory_size = 768
vm.name = "KidsRuby-host"
end

# Enable provisioning with chef solo, specifying a cookbooks path (relative
# to this Vagrantfile), and adding some recipes and/or roles.
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "cookbooks"
chef.add_recipe "vagrant_main"
chef.log_level = :debug
chef.cookbooks_path = "chef/cookbooks"
chef.roles_path = "chef/roles"
chef.add_role "vm_host"

# You may also specify custom JSON attributes:
# chef.json = { :mysql_password => "foo" }
chef.json.merge!({
:kidsruby => {
:version => "0.2.0"
}
})
end
end

0 comments on commit 61c95d3

Please sign in to comment.