Information Technology Reference
In-Depth Information
ssl_verify_mode
:verify_peer
To enable this setting and have the
chef-client::config
recipe generate the appropriate
configuration setting, we need to set the following attribute:
node
.
default
[
'chef_client'
][
'config'
][
'ssl_verify_mode'
] =
':verify_peer'
We'll do this by using Chef Server's
management site
.
Once you log in, click on the
Nodes
ure 10-4
.
Figure 10-4. Node actions
The node editing page will be displayed. We'll be using the node attributes portion of the
page at the bottom, as shown in
Figure 10-5
.
Click on the
source
tab for attributes. Enter in the text as shown in
Figure 10-6
. This is the
attribute setting
node.default['chef_client']['config']['ssl_verify_mode'] =