diff options
author | Tim Smith <tsmith@chef.io> | 2018-09-06 16:05:03 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-09-06 16:05:03 -0700 |
commit | 1e6542943a0b65b4e77a89c7d955d6189056584d (patch) | |
tree | 46b73508156b2ea3572baba276881b026193a032 | |
parent | d956159f9d9a1df33349e6f3e94df35c1b39d31f (diff) | |
download | chef-1e6542943a0b65b4e77a89c7d955d6189056584d.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.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 |