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-04 11:16:50 -0800
commit48c07db791a561ba44de08461577bf5195de27bf (patch)
treea69945390e398f93a25ac1a8d32e7497886d1766
parent7149e1aa6c8f1617bd561c52703fbcb67c7d66c8 (diff)
downloadchef-48c07db791a561ba44de08461577bf5195de27bf.tar.gz
Add a default_description in windows_tasktask_description
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."