Information Technology Reference
In-Depth Information
We're done with this sandbox environment. Run the kitchen destroy command to shut
down the virtual machine and release all the associated system resources:
$ kitchen destroy default-centos65
-----> Starting Kitchen (v1.2.2.dev)
-----> Destroying <default-centos65>...
==> default: Forcing shutdown of VM...
==> default: Destroying VM and associated drives...
Vagrant instance <default-centos65> destroyed.
Finished destroying <default-centos65> (0m2.83s).
-----> Kitchen is finished. (0m3.07s)
YAML Overview
The .kitchen.yml configuration file used to configure Test Kitchen is in the YAML file
format. YAML is a recursive acronym that stands for YAML Ain't Markup Language . A se-
quence of three hyphens (---) denote the beginning of a YAML document, so you'll see this
at the beginning of every .kitchen.yml file. Comments are indicated by the hash symbol (#),
just like in Ruby. Space and indentation matter in a YAML file. Tab characters should never
be used in a YAML file, only spaces.
YAML files work with two fundamental kinds of a data:
▪ Key-value pair
▪ List
A key-value pair has the form <key>: <value> like:
name : vagrant
The space after the colon is required. The value for name is vagrant . The value vagrant can
be looked up by the name key.
Key-value pairs can be nested, so that the value for a key is another key-value pair. When a
key-value pair is nested, the value portion for the parent is written on separate lines, indented
by at least one space. For example:
Search WWH ::




Custom Search