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.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/chef/resource/paludis_package.rb b/lib/chef/resource/paludis_package.rb
index 56c47bc141..e93e6288b8 100644
--- a/lib/chef/resource/paludis_package.rb
+++ b/lib/chef/resource/paludis_package.rb
@@ -22,14 +22,12 @@ require 'chef/provider/package/paludis'
class Chef
class Resource
class PaludisPackage < Chef::Resource::Package
+ resource_name :paludis_package
provides :paludis_package, os: "linux"
allowed_actions :install, :remove, :upgrade
- def initialize(name, run_context=nil)
- super(name, run_context)
- @timeout = 3600
- end
+ property :timeout, default: 3600
end
end
end