summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-01-11 11:15:20 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-01-11 11:15:20 -0800
commit1063628bb27afe9f5ff4221828f94fe36cb63159 (patch)
tree9f35e11c6ddc89e828573b4b2e81c89fcd041dd6 /lib
parent02bbb1aeef2dcf720967ac476002877344e88f80 (diff)
downloadchef-1063628bb27afe9f5ff4221828f94fe36cb63159.tar.gz
add pre-deprecated uninstall action
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/resource/chocolatey_package.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/resource/chocolatey_package.rb b/lib/chef/resource/chocolatey_package.rb
index 2e29c1722e..57a6bd2357 100644
--- a/lib/chef/resource/chocolatey_package.rb
+++ b/lib/chef/resource/chocolatey_package.rb
@@ -24,6 +24,8 @@ class Chef
provides :chocolatey_package, os: "windows"
+ allowed_actions :install, :upgrade, :remove, :uninstall, :purge, :reconfig
+
def initialize(name, run_context=nil)
super
@resource_name = :chocolatey_package