Information Technology Reference
In-Depth Information
atwood:
ipaddress: 192.168.33.31
snowman:
ipaddress: 192.168.33.32
susu:
ipaddress: 192.168.33.33
Search in a Recipe Using Test Kitchen
You can also perform search queries in your Chef code. In this section we'll write a cook-
book using Test Kitchen and chef_zero that performs search queries. Create the directory
chef-playground/cookbooks , and make sure it is the current working directory:
Linux/Mac OS X:
$ cd chef-playground/cookbooks
Windows:
> cd chef-playground\cookbooks
Now, generate a nodes cookbook in the chef-playground/cookbooks directory.
Chef Development Kit:
$ chef generate cookbook nodes
$ cd nodes
Chef Client:
$ knife cookbook create nodes --cookbook-path .
$ cd nodes
$ kitchen init --create-gemfile
$ bundle install
Search WWH ::




Custom Search