diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-01-11 11:15:20 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-01-11 11:15:20 -0800 |
commit | 1063628bb27afe9f5ff4221828f94fe36cb63159 (patch) | |
tree | 9f35e11c6ddc89e828573b4b2e81c89fcd041dd6 /lib | |
parent | 02bbb1aeef2dcf720967ac476002877344e88f80 (diff) | |
download | chef-1063628bb27afe9f5ff4221828f94fe36cb63159.tar.gz |
add pre-deprecated uninstall action
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/resource/chocolatey_package.rb | 2 |
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 |