From 5896d96bdb2e590a5a6f6bca651f56f8a433df32 Mon Sep 17 00:00:00 2001 From: Peter Doherty Date: Thu, 25 Jun 2015 16:03:24 -0400 Subject: [PATCH] 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 --- website/source/docs/provisioners/chef-client.html.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/source/docs/provisioners/chef-client.html.markdown b/website/source/docs/provisioners/chef-client.html.markdown index 9a2a11379..3e56eecb2 100644 --- a/website/source/docs/provisioners/chef-client.html.markdown +++ b/website/source/docs/provisioners/chef-client.html.markdown @@ -113,11 +113,17 @@ The default value for the configuration template is: log_level :info log_location STDOUT chef_server_url "{{.ServerUrl}}" +{{if ne .ValidationClientName ""}} +validation_client_name "{{.ValidationClientName}}" +{{else}} validation_client_name "chef-validator" +{{end}} {{if ne .ValidationKeyPath ""}} validation_key "{{.ValidationKeyPath}}" {{end}} +{{if ne .NodeName ""}} node_name "{{.NodeName}}" +{{end}} ``` This template is a [configuration template](/docs/templates/configuration-templates.html)