summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-02-04 11:16:50 -0800
committerTim Smith <tsmith84@gmail.com>2020-02-05 11:09:40 -0800
commit2fc50b07307e632770571bad598f8610b03cf02b (patch)
tree0197217792ef95c145a915a4eb618e55bdec9130
parentf1fdedcca70131730299e36eea12d6301379c88b (diff)
downloadchef-default_desc_15.tar.gz
Add a default_description in windows_taskdefault_desc_15
This came up in https://github.com/chef/chef-web-docs/pull/2256 and we should really be documenting that behavior here so we can generate the docs with it. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/windows_task.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/windows_task.rb b/lib/chef/resource/windows_task.rb
index 95de6b37c2..c29a951d74 100644
--- a/lib/chef/resource/windows_task.rb
+++ b/lib/chef/resource/windows_task.rb
@@ -77,7 +77,8 @@ class Chef
description: "The frequency with which to run the task."
property :start_day, String,
- description: "Specifies the first date on which the task runs in MM/DD/YYYY format."
+ description: "Specifies the first date on which the task runs in MM/DD/YYYY format.",
+ default_description: "The current date."
property :start_time, String,
description: "Specifies the start time to run the task, in HH:mm format."