diff options
Diffstat (limited to 'lib/chef/knife/ssl_fetch.rb')
-rw-r--r-- | lib/chef/knife/ssl_fetch.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/chef/knife/ssl_fetch.rb b/lib/chef/knife/ssl_fetch.rb index 98c98d06ae..cc0ad3bbd6 100644 --- a/lib/chef/knife/ssl_fetch.rb +++ b/lib/chef/knife/ssl_fetch.rb @@ -130,13 +130,13 @@ class Chef def run validate_uri - ui.warn(<<-TRUST_TRUST) -Certificates from #{host} will be fetched and placed in your trusted_cert -directory (#{trusted_certs_dir}). - -Knife has no means to verify these are the correct certificates. You should -verify the authenticity of these certificates after downloading. - + ui.warn(<<~TRUST_TRUST) + Certificates from #{host} will be fetched and placed in your trusted_cert + directory (#{trusted_certs_dir}). + + Knife has no means to verify these are the correct certificates. You should + verify the authenticity of these certificates after downloading. + TRUST_TRUST remote_cert_chain.each do |cert| write_cert(cert) |