summaryrefslogtreecommitdiff
path: root/lib/chef/resource/paludis_package.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-04-14 09:41:20 -0700
committerGitHub <noreply@github.com>2020-04-14 09:41:20 -0700
commitb761101ebebdbf933c2f9c99d2d79de89ccba99c (patch)
treeed3b6b8a8a7acd2c17c0d8d94225767be643e8e1 /lib/chef/resource/paludis_package.rb
parent3dba6a3ce898b246e101a12e9736dc8b1521f0d6 (diff)
parent534ae5bbc34feed50e9319ddef94b615fe3d229c (diff)
downloadchef-b761101ebebdbf933c2f9c99d2d79de89ccba99c.tar.gz
Merge pull request #9659 from chef/timeouts
Updates to timeout properties in various resources
Diffstat (limited to 'lib/chef/resource/paludis_package.rb')
-rw-r--r--lib/chef/resource/paludis_package.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/chef/resource/paludis_package.rb b/lib/chef/resource/paludis_package.rb
index 46e065912e..49ad2cc96c 100644
--- a/lib/chef/resource/paludis_package.rb
+++ b/lib/chef/resource/paludis_package.rb
@@ -31,9 +31,10 @@ class Chef
allowed_actions :install, :remove, :upgrade
- property :timeout, Integer,
+ property :timeout, [String, Integer],
description: "The amount of time (in seconds) to wait before timing out.",
- default: 3600
+ default: 3600,
+ desired_state: false
end
end
end