Information Technology Reference
In-Depth Information
NOTE
You can also edit node attributes on the command line with the
knife node edit
com-
mand.
Figure 10-6. Set node.default['chef_client']['config']['ssl_verify_mode'] = ':verify_peer'
On the command line, verify that the attribute was set back in your
chef-repo
directory. Use
the
knife node show --attribute
command to display the
chef_client.ssl_verify_mode
attribute for the node, as follows:
$
knife node list
node-centos65.vagrantup.com
$
knife node show --attribute "chef_client.config.ssl_verify_mode" \
node-centos65.vagrantup.com
node-centos65.vagrantup.com:
chef_client.config.ssl_verify_mode: :verify_peer
If the output does not match exactly, make sure that you remembered to click on the
Save
Node
button. It is easy to forget because it's at the bottom of the page outside the editing win-