Information Technology Reference
In-Depth Information
provisioner :
name : chef_zero
environments_path : . . /. . / environments
roles_path : . . /. . /. roles
platforms :
- name : centos65
driver :
box : learningchef / centos65
box_url : learningchef / centos65
suites :
- name : prod
provisioner :
client_rb :
environment : production
driver :
network :
- [ "private_network" , { ip : "192.168.33.15" } ]
run_list :
- recipe [ apache : :default ]
attributes :
Check the syntax of your .kitchen.yml with kitchen list . The output should resemble the
following:
$ kitchen list
Instance Driver Provisioner Last Action
prod-centos65 Vagrant ChefZero <Not Created>
Edit apache/metadata.rb , filling in the maintainer , maintainer_email , and license . We
filled in ours like in Example 15-6 .
Example 15-6. chefdk/chef-zero/cookbooks/apache/metadata.rb
name 'apache'
maintainer 'Mischa Taylor'
maintainer_email 'mischa@misheska.com'
license 'MIT'
description 'Installs/Configures apache'
long_description 'Installs/Configures apache'
version
'0.1.0'
Search WWH ::




Custom Search