Information Technology Reference
In-Depth Information
cookbooks/zero/recipes/default.rb in the cache.
[2014-07-22T10:31:38-07:00] INFO: Storing updated
cookbooks/zero/README.md in the cache.
[2014-07-22T10:31:38-07:00] INFO: Storing updated
cookbooks/zero/metadata.json in the cache.
- zero
Compiling Cookbooks...
Converging 0 resources
[2014-07-22T10:31:38-07:00] INFO: Chef Run complete in 0.043313495 seconds
Running handlers:
[2014-07-22T10:31:38-07:00] INFO: Running report handlers
Running handlers complete
[2014-07-22T10:31:38-07:00] INFO: Report handlers complete
Chef Client finished, 0/0 resources updated in 2.396534174 seconds
Finished converging <default-centos65> (0m29.51s).
-----> Kitchen is finished. (1m4.76s)
Here's an overview of the steps Test Kitchen performed to set up
chef-zero
in the sandbox
environment. It:
1. Installed Chef Client
2. Created fake
validation.pem
and
client.pem
keys in
/tmp/kitchen
3. Generated
client.rb
(the configuration file for
chef-client
) in
/tmp/kitchen
4. Generated
dna.json
file with run list in
/tmp/kitchen
5. Synchronized cookbooks on host in
/tmp/kitchen/cookbooks
6. Ran
chef-client
in
local mode
. The full command line used is
chef-client --
local-mode --config /tmp/kitchen/client.rb --log_level --chef-zero-
port 8889 --json-attributes dna.json
Destroy the sandbox environment; we're done with it for now:
$
kitchen destroy