summaryrefslogtreecommitdiff
path: root/lib/chef/resource/paludis_package.rb
diff options
context:
space:
mode:
authorJulian C. Dunn <jdunn@chef.io>2015-02-04 07:59:15 +0100
committerJulian C. Dunn <jdunn@chef.io>2015-02-04 07:59:15 +0100
commit10b1887c20ddaaeae30b4cd4f83f219410d36c4f (patch)
treee6df0e8870e2f8475284aba94b4a2c69bcb4509b /lib/chef/resource/paludis_package.rb
parent23cb1c709d83f1476e6a155a2ec8d0cdde14c0f9 (diff)
downloadchef-10b1887c20ddaaeae30b4cd4f83f219410d36c4f.tar.gz
Bugfix: Allow action :nothing for windows_package, ips_package, paludis_package and reboot resources.
Closes #2841.
Diffstat (limited to 'lib/chef/resource/paludis_package.rb')
-rw-r--r--lib/chef/resource/paludis_package.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/paludis_package.rb b/lib/chef/resource/paludis_package.rb
index 7eddf8690b..552c96857a 100644
--- a/lib/chef/resource/paludis_package.rb
+++ b/lib/chef/resource/paludis_package.rb
@@ -28,7 +28,7 @@ class Chef
def initialize(name, run_context=nil)
super(name, run_context)
@resource_name = :paludis_package
- @allowed_actions = [ :install, :remove, :upgrade ]
+ @allowed_actions.push(:install, :remove, :upgrade)
@timeout = 3600
end
end