Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update chef path and values, boost vm ram

  • Loading branch information...
commit 61c95d3a6a3aa722dfdb5064c6fcbd101e73aa49 1 parent 0ad877d
@phlipper phlipper authored
Showing with 14 additions and 3 deletions.
  1. +14 −3 Vagrantfile
View
17 Vagrantfile
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.