diff options
author | Serdar Sutay <serdar@opscode.com> | 2015-04-24 13:29:03 -0700 |
---|---|---|
committer | Serdar Sutay <serdar@opscode.com> | 2015-04-24 13:29:03 -0700 |
commit | 307b68ef5edcdca98395692d38f4caddc23f3fff (patch) | |
tree | db917d2787aaa4885485bf5c31ca37e75b82cfaf /lib/chef/audit | |
parent | 391c9a62143e43a623cdbebbf6f460653b66e94d (diff) | |
download | chef-307b68ef5edcdca98395692d38f4caddc23f3fff.tar.gz |
Configure serverspec correctly on windows.sersut/3234
Diffstat (limited to 'lib/chef/audit')
-rw-r--r-- | lib/chef/audit/runner.rb | 1 |
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 |