diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2014-12-15 15:47:22 -0800 |
---|---|---|
committer | Bryan McLellan <btm@loftninjas.org> | 2014-12-16 13:40:29 -0500 |
commit | 032cfdcc0eb1f7ad634d3b766ff31f75ca165168 (patch) | |
tree | 013c3136b44157a9646c2b9649ef2ec94a65a753 /lib/chef/provider/powershell_script.rb | |
parent | e811e4c4f0e60c6a2dcf73fd65ef5cef37bc2a74 (diff) | |
download | chef-032cfdcc0eb1f7ad634d3b766ff31f75ca165168.tar.gz |
Fix broken powershell_script resource
The powershell commands were not being guarded by our code that
checks for for exit codes
Diffstat (limited to 'lib/chef/provider/powershell_script.rb')
-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 |