This repository contains the infrastructure to run chef-tutorials, and develop cookbooks using test driven development.
- Download and install Virtualbox 4.2.6 (if you want to align with what we're using).
- Download and install Vagrant 1.2.2. (If you're feeling courageous, use the latest, the maintainer is pretty good about keeping things working).
-
Run the following command in the terminal to download the git repository.
git clone https://github.com/chef-tutorials/workstation.gitNOTE: The
git clonecommand will create the workstation base directory in the current directory.Alternative: Download the following zip file and extract it if you don't have git installed:
https://github.com/chef-tutorials/workstation/archive/master.zip -
Change the current directory to the workstation base directory, then start up vagrant:
WARNING The following command will take a while, as it will download the baseboxes.
NOTE: Please wait until the following commands are complete before you log in to the workstation.
cd workstation vagrant upVagrant will download the baseboxes, and start up the workstation and chef_node to get started with the tutorials.
-
Upon success, you should see the login screen of a Ubuntu desktop box. Login with
Username: vagrant Password: vagrant