Update docs for default configuration template

Update docs for default configuration template for the chef-client provisioner, to reflect the ability to set a custom validation_client_name
This commit is contained in:
Peter Doherty 2015-06-25 16:03:24 -04:00
parent 9805c10c87
commit 5896d96bdb
1 changed files with 6 additions and 0 deletions

View File

@ -113,11 +113,17 @@ The default value for the configuration template is:
log_level :info log_level :info
log_location STDOUT log_location STDOUT
chef_server_url "{{.ServerUrl}}" chef_server_url "{{.ServerUrl}}"
{{if ne .ValidationClientName ""}}
validation_client_name "{{.ValidationClientName}}"
{{else}}
validation_client_name "chef-validator" validation_client_name "chef-validator"
{{end}}
{{if ne .ValidationKeyPath ""}} {{if ne .ValidationKeyPath ""}}
validation_key "{{.ValidationKeyPath}}" validation_key "{{.ValidationKeyPath}}"
{{end}} {{end}}
{{if ne .NodeName ""}}
node_name "{{.NodeName}}" node_name "{{.NodeName}}"
{{end}}
``` ```
This template is a [configuration template](/docs/templates/configuration-templates.html) This template is a [configuration template](/docs/templates/configuration-templates.html)