http://robin.wenglewski.de/posts/2013/03/16/automatically-deploy-applications-and-infrastructure/
http://docs-v1.vagrantup.com/v1/docs/getting-started/provisioning.html
Awesome >> http://leopard.in.ua/2013/01/04/chef-solo-getting-started-part-1/
http://leopard.in.ua/2013/01/05/chef-solo-getting-started-part-2/
http://wiki.opscode.com/plugins/viewsource/viewpagesrc.action?pageId=1179893
http://jbbarth.com/posts/2011-03-20-vagrant-provisioning-with-chefsolo.html
Vagrant boxes: http://www.vagrantbox.es/
Debugging: http://docs-v1.vagrantup.com/v1/docs/debugging.html
$ VAGRANT_LOG=INFO vagrant up
For;
FATAL: LoadError: no such file to load -- treetop
Do:
sudo gem install treetop
To sort out;
FATAL: ArgumentError: wrong number of arguments (2 for 1)
Do (previous version of ruby (1.8.7) has a bug in it):
sudo aptitude install ruby1.9.1-full
To get rid of;
[default] Running provisioner: Vagrant::Provisioners::ChefSolo... The chef binary (either `chef-solo` or `chef-client`) was not found on the VM and is required for chef provisioning. Please verify that chef is installed and that the binary is available on the PATH.
Do;
$ vagrant ssh $ sudo gem install chef --no-rdoc --no-ri
When using librarian-chef, update librarian, then remove librarian 0.0.26;
sudo gem uninstall librarian (choose to remove v0.0.26) sudo gem install librarian-chef
.
.