From 1e6542943a0b65b4e77a89c7d955d6189056584d Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Thu, 6 Sep 2018 16:05:03 -0700 Subject: paludis_package: Make sure timeout property is an Integer This is meant to be an integer, but we didn't specify. Signed-off-by: Tim Smith --- lib/chef/resource/paludis_package.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1