summaryrefslogtreecommitdiff
path: root/lib/chef/resource/service.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-04-24 13:50:53 -0700
committerTim Smith <tsmith84@gmail.com>2020-04-24 13:52:26 -0700
commit75d61cbf8faacd1e303f50cf136ea1cbb1ac7de4 (patch)
treea2f4cabdb9cfaf8a2d366f36d749c308a114203a /lib/chef/resource/service.rb
parent3a5c7693b2eb7964c81c400fa3cb9c98974f7ba6 (diff)
downloadchef-75d61cbf8faacd1e303f50cf136ea1cbb1ac7de4.tar.gz
Move the windows only timeout property from service to windows_service
Also give it a real default. This improves our automatic documentation generation. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/service.rb')
-rw-r--r--lib/chef/resource/service.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/chef/resource/service.rb b/lib/chef/resource/service.rb
index 50a7dda437..b28ba365b2 100644
--- a/lib/chef/resource/service.rb
+++ b/lib/chef/resource/service.rb
@@ -114,11 +114,6 @@ class Chef
property :priority, [ Integer, String, Hash ],
description: "Debian platform only. The relative priority of the program for start and shutdown ordering. May be an integer or a Hash. An integer is used to define the start run levels; stop run levels are then 100-integer. A Hash is used to define values for specific run levels. For example, { 2 => [:start, 20], 3 => [:stop, 55] } will set a priority of twenty for run level two and a priority of fifty-five for run level three."
- # timeout only applies to the windows service manager
- property :timeout, Integer,
- description: "Microsoft Windows platform only. The amount of time (in seconds) to wait before timing out.",
- desired_state: false
-
property :parameters, Hash,
description: "Upstart only: A hash of parameters to pass to the service command for use in the service definition."