Information Technology Reference
In-Depth Information
- [ "private_network" , { ip : "192.168.33.16" } ]
run_list :
- recipe [ apache : :default ]
attributes :
Run kitchen list to check your .kitchen.yml syntax. Now you should see two instances,
like so:
$ kitchen list
Instance Driver Provisioner Last Action
prod-centos65 Vagrant ChefZero Converged
dev-centos65 Vagrant ChefZero <Not Created>
Run kitchen converge against the dev-centos65 instance, as follows:
$ kitchen converge dev-centos65
If all goes well, you should be able to view the development website on the sandbox node at
http://192.168.33.16:8080 —it should resemble Figure 15-4 . The port 8080 setting in the en-
vironment overrides the default attribute set in the apache cookbook and in the role. Also,
the message attribute set in the environment takes precedence.
Search WWH ::




Custom Search