diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-02-28 18:38:33 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-02-28 18:38:33 -0800 |
commit | 378b9b5aa393f8cb40d860e20b8c0b0c885afc78 (patch) | |
tree | 7ed1170ff68f030894551f36b4a74d9250e89cce /lib/chef/provider | |
parent | 7fa565737fb3cc984ad686266bbe3fec30312510 (diff) | |
download | chef-378b9b5aa393f8cb40d860e20b8c0b0c885afc78.tar.gz |
Remove the mixin powershell includes from resourcespowershell_include
This is in universal so we don't need to do it in these resources /
providers. We had it in some, but not in others.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/provider')
-rw-r--r-- | lib/chef/provider/package/chocolatey.rb | 2 | ||||
-rw-r--r-- | lib/chef/provider/windows_task.rb | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/lib/chef/provider/package/chocolatey.rb b/lib/chef/provider/package/chocolatey.rb index fe90650846..32b1c9e256 100644 --- a/lib/chef/provider/package/chocolatey.rb +++ b/lib/chef/provider/package/chocolatey.rb @@ -17,13 +17,11 @@ require_relative "../package" require_relative "../../resource/chocolatey_package" -require_relative "../../mixin/powershell_out" class Chef class Provider class Package class Chocolatey < Chef::Provider::Package - include Chef::Mixin::PowershellOut provides :chocolatey_package diff --git a/lib/chef/provider/windows_task.rb b/lib/chef/provider/windows_task.rb index 90e0f3e9de..4e16cccc9c 100644 --- a/lib/chef/provider/windows_task.rb +++ b/lib/chef/provider/windows_task.rb @@ -19,7 +19,6 @@ require_relative "../mixin/shell_out" require "rexml/document" unless defined?(REXML::Document) require "iso8601" if ChefUtils.windows? -require_relative "../mixin/powershell_out" require_relative "../provider" require_relative "../util/path_helper" require "win32/taskscheduler" if ChefUtils.windows? @@ -28,7 +27,6 @@ class Chef class Provider class WindowsTask < Chef::Provider include Chef::Mixin::ShellOut - include Chef::Mixin::PowershellOut if ChefUtils.windows? include Win32 |