diff options
author | Tim Smith <tsmith@chef.io> | 2018-09-10 21:02:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-10 21:02:40 -0700 |
commit | 38632e556c8a5c4e97982721fd1eba9a7544aab6 (patch) | |
tree | c1cde215ee865fafd9dd5891d7f86e7405ef21d1 /lib/chef/resource | |
parent | 2878c06b5287ce9415406738da7ccd3ed0ac0ebc (diff) | |
parent | 1e6542943a0b65b4e77a89c7d955d6189056584d (diff) | |
download | chef-38632e556c8a5c4e97982721fd1eba9a7544aab6.tar.gz |
Merge pull request #7625 from chef/paludis_package
paludis_package: Make sure timeout property is an Integer
Diffstat (limited to 'lib/chef/resource')
-rw-r--r-- | lib/chef/resource/paludis_package.rb | 4 |
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 |