diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2014-12-15 15:47:22 -0800 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2014-12-15 15:47:22 -0800 |
commit | 49958b668bb5cfd4f4c5020b36bf246d67dacc41 (patch) | |
tree | a3fe1896f4f852d41e9a8c3562ae69a2ddf84369 | |
parent | 3f178af707ac7112428c0f7d5e84d09d018c28ae (diff) | |
download | chef-49958b668bb5cfd4f4c5020b36bf246d67dacc41.tar.gz |
Fix broken powershell_script resource
The powershell commands were not being guarded by our code that
checks for for exit codes
-rw-r--r-- | lib/chef/provider/powershell_script.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/provider/powershell_script.rb b/lib/chef/provider/powershell_script.rb index 0e76cd1656..97f77ca491 100644 --- a/lib/chef/provider/powershell_script.rb +++ b/lib/chef/provider/powershell_script.rb @@ -87,6 +87,10 @@ EOH interpreter_flags end + + def code + @code + end end end end |