summaryrefslogtreecommitdiff
path: root/lib/chef/resource/windows_task.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-02-06 11:51:58 -0800
committerTim Smith <tsmith@chef.io>2019-02-06 11:51:58 -0800
commit9510f8a7e1133614ce375223ab275104d855c8cc (patch)
tree8cbb247489f8fbcde94993697184140f636ca0fc /lib/chef/resource/windows_task.rb
parent3ffccac0acebffee22257c62e41902d83b7e3335 (diff)
downloadchef-9510f8a7e1133614ce375223ab275104d855c8cc.tar.gz
More consist descriptions for resource name properties
This better describes how a name property works. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/windows_task.rb')
-rw-r--r--lib/chef/resource/windows_task.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/windows_task.rb b/lib/chef/resource/windows_task.rb
index f664fc57be..54920f2bac 100644
--- a/lib/chef/resource/windows_task.rb
+++ b/lib/chef/resource/windows_task.rb
@@ -32,7 +32,7 @@ class Chef
default_action :create
property :task_name, String, regex: [/\A[^\/\:\*\?\<\>\|]+\z/],
- description: "The task name, such as 'Task Name' or '/Task Name'",
+ description: "An optional property to set the task name if it differs from the resource block's name. Example: 'Task Name' or '/Task Name'",
name_property: true
property :command, String,