Information Technology Reference
In-Depth Information
NOTE
kitchen converge will automatically run kitchen create and kitchen setup for you
if they are needed. In the preceding output, notice that the virtual machine was created,
and chef-client was installed on the node, indicating that Test Kitchen automatically
ran these two steps.
Validate Your Results
Use kitchen login to verify that your new message of the day is installed on the node:
$ kitchen login default-centos65
Last login: Thu Aug 14 13:22:36 2014 from 10.0.2.2
_________________________________________________
< YOU ARE ON A SIMULATED CHEF NODE ENVIRONMENT! >
-----------------------------------------------
\ ^__^
\ (oo)\_______
(__))\/\ \
||----w |
|| ||
Now we hope things are more clear when you are logged in to your simulated Chef node en-
vironment.
NOTE
The kitchen login command requires the ssh program to be installed on your host. On
Windows, ssh is not installed by default. If you get an error with the text “No such file or
directory -ssh” when running kitchen login , make sure you have ssh installed, accord-
ing to Install Unix Tools for Windows .
We're done with the sandbox environment we created to verify the motd cookbook. Run the
exit command on the guest to restore your command prompt back to the host:
Search WWH ::




Custom Search