Permalink
Browse files

Update configuration

  • Loading branch information...
1 parent 81c9d16 commit d82aed0527325b7a6b35bfd3219ca609b52b3e87 @abtris committed Feb 3, 2011
Showing with 7 additions and 5 deletions.
  1. +1 −0 .gitignore
  2. +1 −5 Vagrantfile
  3. +5 −0 cookbooks/vagrant_main/recipes/default.rb
View
@@ -0,0 +1 @@
+.vagrant
View
@@ -31,11 +31,7 @@ Vagrant::Config.run do |config|
#
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "cookbooks"
- # chef.add_recipe "mysql"
- # chef.add_role "web"
- #
- # # You may also specify custom JSON attributes:
- # chef.json = { :mysql_password => "foo" }
+ chef.add_recipe("vagrant_main")
end
# Enable provisioning with chef server, specifying the chef server URL,
@@ -10,6 +10,11 @@
action :run
end
+execute "apt-update" do
+ command "sudo apt-get update"
+ action :run
+end
+
# Some neat package (subversion is needed for "subversion" chef ressource)
%w{ debconf subversion mc htop curl jenkins }.each do |a_package|
package a_package

0 comments on commit d82aed0

Please sign in to comment.