summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-09-10 21:02:40 -0700
committerGitHub <noreply@github.com>2018-09-10 21:02:40 -0700
commit38632e556c8a5c4e97982721fd1eba9a7544aab6 (patch)
treec1cde215ee865fafd9dd5891d7f86e7405ef21d1
parent2878c06b5287ce9415406738da7ccd3ed0ac0ebc (diff)
parent1e6542943a0b65b4e77a89c7d955d6189056584d (diff)
downloadchef-38632e556c8a5c4e97982721fd1eba9a7544aab6.tar.gz
Merge pull request #7625 from chef/paludis_package
paludis_package: Make sure timeout property is an Integer
-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