summaryrefslogtreecommitdiff
path: root/lib/chef/provider
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-02-28 12:57:27 -0800
committerTim Smith <tsmith@chef.io>2018-02-28 12:57:27 -0800
commit494de6eea80595bd44d98fac6cd2560d1a5731cc (patch)
treeac03534020ab6176d63fd6d4962fd93a152b8ee4 /lib/chef/provider
parentac19cbfb5fb05189e0edc400bc1acd9a7364b4d8 (diff)
downloadchef-494de6eea80595bd44d98fac6cd2560d1a5731cc.tar.gz
Remove the :uninstall action from chocolatey_package - CHEF-21remove_choco_uninstall
Remove the previously deprecated :uninstall action for chocolatey_package. This is noted in CHEF-21 Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/provider')
-rw-r--r--lib/chef/provider/package/chocolatey.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/chef/provider/package/chocolatey.rb b/lib/chef/provider/package/chocolatey.rb
index 3536d807ad..2932654962 100644
--- a/lib/chef/provider/package/chocolatey.rb
+++ b/lib/chef/provider/package/chocolatey.rb
@@ -124,14 +124,6 @@ EOS
choco_command("uninstall -y", cmd_args(include_source: false), *names)
end
- # Support :uninstall as an action in order for users to easily convert
- # from the `chocolatey` provider in the cookbook. It is, however,
- # already deprecated.
- def action_uninstall
- Chef::Log.deprecation "The use of action :uninstall on the chocolatey_package provider is deprecated, please use :remove"
- action_remove
- end
-
# Choco does not have dpkg's distinction between purge and remove
alias purge_package remove_package