diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-12-08 15:38:16 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-12-08 15:38:16 -0800 |
commit | aec2017034bcf804430f941a0d41aba290459385 (patch) | |
tree | 451a537781e16799d54b64501a80fbefebd624a3 /spec | |
parent | e921e921fbbd759b5dc43404b45f1dc198bd7417 (diff) | |
download | chef-aec2017034bcf804430f941a0d41aba290459385.tar.gz |
fix windows testslcg/deprecate-chef-platform-methods
dsc_script provider needs os defined.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/functional/resource/dsc_script_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/functional/resource/dsc_script_spec.rb b/spec/functional/resource/dsc_script_spec.rb index e2b58f6432..8afcdbb590 100644 --- a/spec/functional/resource/dsc_script_spec.rb +++ b/spec/functional/resource/dsc_script_spec.rb @@ -76,6 +76,7 @@ describe Chef::Resource::DscScript, :windows_powershell_dsc_only do let(:env_value2) { "value2" } let(:dsc_test_run_context) do node = Chef::Node.new + node.automatic["os"] = "windows" node.automatic["platform"] = "windows" node.automatic["platform_version"] = "6.1" node.automatic["kernel"][:machine] = :x86_64 # Only 64-bit architecture is supported |