summaryrefslogtreecommitdiff
path: root/lib/chef/resource/paludis_package.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/paludis_package.rb')
-rw-r--r--lib/chef/resource/paludis_package.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/paludis_package.rb b/lib/chef/resource/paludis_package.rb
index 0907ba71a9..f0ddc5927a 100644
--- a/lib/chef/resource/paludis_package.rb
+++ b/lib/chef/resource/paludis_package.rb
@@ -26,9 +26,10 @@ class Chef
use_automatic_resource_name
provides :paludis_package, os: "linux"
+ allowed_actions :install, :remove, :upgrade
+
def initialize(name, run_context=nil)
super(name, run_context)
- @allowed_actions.push(:install, :remove, :upgrade)
@timeout = 3600
end
end