From e824e0eb3787c47bcbafaf8965fcc53079a7bd95 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 6 Sep 2019 10:14:53 -0700 Subject: [PATCH] Forgot to include serverspec deprecation updates * Adding the uat serverspec deprecation updates. --- README.md | 2 +- uat/serverspec/spec_helper.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aa2048f..50f961e 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ options[:user] = ENV['TARGET_USER'] options[:keys] = ENV['TARGET_KEY'] options[:host_name] = ENV['TARGET_HOST'] options[:port] = ENV['TARGET_PORT'] -options[:paranoid] = false unless ENV['SERVERSPEC_HOST_KEY_CHECKING'] =~ (/^(true|t|yes|y|1)$/i) +options[:verify_host_key] = :never unless ENV['SERVERSPEC_HOST_KEY_CHECKING'] =~ (/^(true|t|yes|y|1)$/i) set :host, options[:host_name] set :ssh_options, options diff --git a/uat/serverspec/spec_helper.rb b/uat/serverspec/spec_helper.rb index 9a7aaa5..34ff748 100644 --- a/uat/serverspec/spec_helper.rb +++ b/uat/serverspec/spec_helper.rb @@ -6,7 +6,7 @@ options[:keys] = ENV['TARGET_KEY'] options[:host_name] = ENV['TARGET_HOST'] options[:port] = ENV['TARGET_PORT'] -options[:paranoid] = false unless ENV['SERVERSPEC_HOST_KEY_CHECKING'] =~ (/^(true|t|yes|y|1)$/i) +options[:verify_host_key] = :never unless ENV['SERVERSPEC_HOST_KEY_CHECKING'] =~ (/^(true|t|yes|y|1)$/i) set :host, options[:host_name] set :ssh_options, options