- Ruby 1.9 / Ruby 2.0. NOT compatible with Ruby 1.8.
- Bundler (to install dependencies).
- Vagrant, http://www.vagrantup.com/downloads.html
- Virtualbox 4.3, https://www.virtualbox.org/wiki/Downloads
- Internet connection without proxy.
To install the project gems dependencies use bundler
localhost$bundle install This vagrant environment use some puppet modules from puppetforge.
We use r10k to install all the required modules.
Use the following rake task to install the required modules.
localhost$rake r10k:installThe vagrant configuration is on tools/vagrant directory.
To start it:
localhost$cd tools/vagrant
localhost$vagrant up After it finishes, open http://localhost:8080 on your web browser.
Login: vagrant@example.com
Password: vagrant123
- start the virtual machines
localhost$vagrant up - destroy the virtual machines
localhost$vagrant destroy - status of the virtual machines
localhost$vagrant status - ssh into machines,
localhost$vagrant ssh mcomaster
localhost$vagrant ssh middleware
localhost$vagrant ssh mcserver2
localhost$vagrant ssh mcserver1- run puppet against one machine
localhost$vagrant provision mcomaster