summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2015-04-27 16:18:16 +0100
committerThom May <thom@may.lt>2015-04-27 16:18:16 +0100
commit94cf13c6224979360f55d4590855ce279dfe752f (patch)
treea9c3f26cbee05143ddd785e240c4226db9634a1e /lib
parent07aedb0eabbbf364f9d96127c34fd81b16011d4f (diff)
parent307b68ef5edcdca98395692d38f4caddc23f3fff (diff)
downloadchef-94cf13c6224979360f55d4590855ce279dfe752f.tar.gz
Merge pull request #3280 from chef/sersut/3234
Configure serverspec correctly on windows.
Diffstat (limited to 'lib')
-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