summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-09-06 16:05:03 -0700
committerTim Smith <tsmith@chef.io>2018-09-06 16:05:03 -0700
commit1e6542943a0b65b4e77a89c7d955d6189056584d (patch)
tree46b73508156b2ea3572baba276881b026193a032
parentd956159f9d9a1df33349e6f3e94df35c1b39d31f (diff)
downloadchef-paludis_package.tar.gz
paludis_package: Make sure timeout property is an Integerpaludis_package
This is meant to be an integer, but we didn't specify. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/paludis_package.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/chef/resource/paludis_package.rb b/lib/chef/resource/paludis_package.rb
index 722163254f..f7f9187826 100644
--- a/lib/chef/resource/paludis_package.rb
+++ b/lib/chef/resource/paludis_package.rb
@@ -30,7 +30,9 @@ class Chef
allowed_actions :install, :remove, :upgrade
- property :timeout, default: 3600
+ property :timeout, Integer,
+ description: "The amount of time (in seconds) to wait before timing out.",
+ default: 3600
end
end
end