diff --git a/lib/kitchen/verifier/inspec.rb b/lib/kitchen/verifier/inspec.rb index d34c47e..b8b2e1a 100644 --- a/lib/kitchen/verifier/inspec.rb +++ b/lib/kitchen/verifier/inspec.rb @@ -199,7 +199,7 @@ def runner_options_for_winrm(config_data) "host" => URI(kitchen[:endpoint]).hostname, "port" => URI(kitchen[:endpoint]).port, "user" => kitchen[:user], - "password" => kitchen[:pass], + "password" => kitchen[:password] || kitchen[:pass], "connection_retries" => kitchen[:connection_retries], "connection_retry_sleep" => kitchen[:connection_retry_sleep], "max_wait_until_ready" => kitchen[:max_wait_until_ready],