summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2014-09-05 14:20:34 -0700
committerClaire McQuin <claire@getchef.com>2014-09-08 15:21:14 -0700
commita49574f762c0c924bfd7d0c318873a60886e4731 (patch)
tree358674c68dcbf719a02a4ea4e545c59cabdece8b
parent6b5245a79d21ebf3a2f7f9f33adc19c72979f5ae (diff)
downloadchef-a49574f762c0c924bfd7d0c318873a60886e4731.tar.gz
add trusted_certs_dir to generated config
-rw-r--r--lib/chef/knife/core/bootstrap_context.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/knife/core/bootstrap_context.rb b/lib/chef/knife/core/bootstrap_context.rb
index 9932139df5..77881c7b66 100644
--- a/lib/chef/knife/core/bootstrap_context.rb
+++ b/lib/chef/knife/core/bootstrap_context.rb
@@ -117,6 +117,10 @@ CONFIG
client_rb << %Q{encrypted_data_bag_secret "/etc/chef/encrypted_data_bag_secret"\n}
end
+ if trusted_certs_dir
+ client_rb << %Q{trusted_certs_dir "/etc/chef/trusted_certs"\n}
+ end
+
client_rb
end