Information Technology Reference
In-Depth Information
Options FollowSymLinks
AllowOverride None
</Directory>
</Directory>
<Directory
<Directory
<%= @
document_root
%
>
>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
</Directory>
</VirtualHost>
</VirtualHost>
This line is omitted from the resultant template file.
On
ly this line is written to the resultant template file.
Th
is line is omitted from the resultant template file.
Run
kitchen
converge to deploy your cookbook to the sandbox node using the
produc-
tion
environment:
$
kitchen converge prod-centos65
If all goes well, you should be able to view the production website on the sandbox node
at
http://192.168.33.15
on the default web port 80—it should resemble
Figure 15-3
. The
port 80 setting in the role overrides the default attribute set in the
apache
cookbook.
Also, the message attribute set in the environment takes precedence.