summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerdar Sutay <serdar@opscode.com>2015-04-24 13:29:03 -0700
committerThom May <thom@chef.io>2015-04-27 18:50:22 +0100
commit69019e00dbd1cdab33834a56f23d0e2342b7806c (patch)
tree4f25471bc56cf816e10309d01717a9941b7add64
parente2d3d0493dd809391b335830380b98a374560ae4 (diff)
downloadchef-69019e00dbd1cdab33834a56f23d0e2342b7806c.tar.gz
Configure serverspec correctly on windows.
-rw-r--r--lib/chef/audit/runner.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/audit/runner.rb b/lib/chef/audit/runner.rb
index 13c2823dca..801bf5ee58 100644
--- a/lib/chef/audit/runner.rb
+++ b/lib/chef/audit/runner.rb
@@ -144,6 +144,7 @@ class Chef
def configure_specinfra
if Chef::Platform.windows?
Specinfra.configuration.backend = :cmd
+ Specinfra.configuration.os = { :family => 'windows' }
else
Specinfra.configuration.backend = :exec
end