Information Technology Reference
In-Depth Information
},
"motd"
: {
"message"
:
"Developers, developers, developers!"
}
}
}
Add a new
dev
suite to
chef-zero/cookbooks/apache/.kitchen.yml
as shown in
ment and the IP address
192.168.33.16
.
Example 15-13. chefdk/chef-zero/cookbooks/apache/.kitchen.yml
---
driver
:
name
:
vagrant
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
:
-
name
:
dev
provisioner
:
client_rb
:
environment
:
dev
driver
:
network
: