-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows msi package provider fails to install with NoMethodError for 'shell_out!' #2625
Comments
Verified this is an issue |
This is weird, shellout was pulled up to provider, seems like it should still work: |
https://github.com/opscode/chef/blob/master/lib/chef/provider/package/windows/msi.rb |
how did that ever work? or did we accidentally drop the inheritance at some point? |
no, if you look at the base windows package provider, it is using composition instead of inheritance (a good thing) and that msi class is not supposed to inherit from any base class. if i removed shell_out from that class it was just a mistake and that should get added back. |
Fixed by ^^ commit. |
Running Chef omnibus installer, with Chef 12.0.1
When including an msi package on Windows, the Chef run blows up with:
undefined method `shell_out!' for #Chef::Provider::Package::Windows::MSI:0x12b62e0
Here's some more info:
Looks like the ShellOut mixin isn't included in the msi package provider?
The text was updated successfully, but these errors were encountered: