summaryrefslogtreecommitdiff
path: root/lib/chef/resource/windows_package.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-04-13 21:13:28 -0700
committerTim Smith <tsmith84@gmail.com>2020-04-13 22:19:18 -0700
commit4bda3fd9301f00b92ea3545cfe5cb16c3e7e245b (patch)
treea935811378b0ceb89be12baa9532885887cc257c /lib/chef/resource/windows_package.rb
parentee8de0ef0909dbc4a2098a110aa412558d6852da (diff)
downloadchef-4bda3fd9301f00b92ea3545cfe5cb16c3e7e245b.tar.gz
Updates to timeout properties in resources
1) make sure they all have desired state false 2) Fix some indentation 3) Fix portage_package to have a type of String/Integer to match package 4) Add the String type to paludis_package to match the package default Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/windows_package.rb')
-rw-r--r--lib/chef/resource/windows_package.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/windows_package.rb b/lib/chef/resource/windows_package.rb
index 6371b431a8..0d9a5f39fa 100644
--- a/lib/chef/resource/windows_package.rb
+++ b/lib/chef/resource/windows_package.rb
@@ -51,7 +51,8 @@ class Chef
property :timeout, [ String, Integer ], default: 600,
default_description: "600 (seconds)",
- description: "The amount of time (in seconds) to wait before timing out."
+ description: "The amount of time (in seconds) to wait before timing out.",
+ desired_state: false
# In the past we accepted return code 127 for an unknown reason and 42 because of a bug
# we accept 3010 which means success, but a reboot is necessary