Previously: Running Kitchen Converge
If you're a skeptical person then you might be asking:
"How can we be sure that Git was actually installed?"
Let's verify this right now.
Test Kitchen has a login subcommand for just these kinds of situations:
$ kitchen login default-ubuntu-1204 Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-23-generic x86_64) * Documentation: https://help.ubuntu.com/ Last login: Sat Nov 30 21:56:59 2013 from 10.0.2.2 vagrant@default-ubuntu-1204:~$
As you can see by the prompt above we are now in the
default-ubuntu-1204 instance. We'll denote the prompt in an instance with
# for clarity. Now to check if Git is installed:
# which git /usr/bin/git # git --version git version 126.96.36.199
Rockin. Now we can exit out back to our workstation:
# exit logout Connection to 127.0.0.1 closed.
Feel free to use the login subcommand any time you have the urge to poke around, uninstall packages, turn off services, grep logs, etc. Go to town, this is a sandbox and isn't production after all.