provisioner/chef: doc example of ssl_verify_mode

This commit is contained in:
JJ Asghar 2017-10-24 16:47:42 -05:00 committed by Martin Atkins
parent 385e564250
commit 5ae892fdf2
1 changed files with 3 additions and 1 deletions

View File

@ -51,6 +51,8 @@ resource "aws_instance" "web" {
user_name = "bork"
user_key = "${file("../bork.pem")}"
version = "12.4.1"
# If you have a self signed cert on your chef server change this to :verify_none
ssl_verify_mode = ":verify_peer"
}
}
```
@ -142,7 +144,7 @@ The following arguments are supported:
provisioner.
* `ssl_verify_mode (string)` - (Optional) Used to set the verify mode for Chef Client HTTPS
requests.
requests. The options are `:verify_none`, or `:verify_peer` which is default.
* `user_name (string)` - (Required) The name of an existing Chef user to register
the new Chef Client and optionally configure Chef Vaults.