diff options
author | Simon Detheridge <simon@widgit.com> | 2014-12-12 15:32:18 +0000 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2014-12-15 08:11:14 -0800 |
commit | 4e71d9afbd7d226b0ded91c7f07da187f4fb7bfd (patch) | |
tree | 52c702e7315680f6ac9558cab837bdabff059c97 | |
parent | 02ff327ae6d6abcf1e618e5fd82b381a6865c13d (diff) | |
download | chef-jdm/issue-2626-rebase.tar.gz |
Bug #2625: Include ShellOut mixin in msi package providerjdm/issue-2626-rebase
-rw-r--r-- | lib/chef/provider/package/windows/msi.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/provider/package/windows/msi.rb b/lib/chef/provider/package/windows/msi.rb index cc07909d8e..e43a307cca 100644 --- a/lib/chef/provider/package/windows/msi.rb +++ b/lib/chef/provider/package/windows/msi.rb @@ -19,6 +19,7 @@ # TODO: Allow @new_resource.source to be a Product Code as a GUID for uninstall / network install require 'chef/win32/api/installer' if RUBY_PLATFORM =~ /mswin|mingw32|windows/ +require 'chef/mixin/shell_out' class Chef class Provider @@ -26,6 +27,7 @@ class Chef class Windows class MSI include Chef::ReservedNames::Win32::API::Installer if RUBY_PLATFORM =~ /mswin|mingw32|windows/ + include Chef::Mixin::ShellOut def initialize(resource) @new_resource = resource |