summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-08-30 17:36:02 -0700
committerTim Smith <tsmith@chef.io>2018-08-31 17:17:24 -0700
commit462b8a79a750a570d234acabb9007e97f7544906 (patch)
tree68cffbce35fa25c01d89820f70a655a07033e5d7
parent7d5f9a1937d3ae42cb23ed74b1bae08318e76387 (diff)
downloadchef-462b8a79a750a570d234acabb9007e97f7544906.tar.gz
More description fixes
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/windows_printer_port.rb2
-rw-r--r--lib/chef/resource/windows_task.rb7
2 files changed, 5 insertions, 4 deletions
diff --git a/lib/chef/resource/windows_printer_port.rb b/lib/chef/resource/windows_printer_port.rb
index 75b18a41dd..3d54c72f47 100644
--- a/lib/chef/resource/windows_printer_port.rb
+++ b/lib/chef/resource/windows_printer_port.rb
@@ -47,7 +47,7 @@ class Chef
description: "The description of the port."
property :snmp_enabled, [TrueClass, FalseClass],
- description: "Should SNMP be enabled on the port.",
+ description: "Determines if SNMP is enabled on the port.",
default: false
property :port_protocol, Integer,
diff --git a/lib/chef/resource/windows_task.rb b/lib/chef/resource/windows_task.rb
index 9af20f8af0..ccecb3a7a0 100644
--- a/lib/chef/resource/windows_task.rb
+++ b/lib/chef/resource/windows_task.rb
@@ -36,7 +36,7 @@ class Chef
name_property: true
property :command, String,
- description: ""
+ description: "The command to be executed by the windows scheduled task."
property :cwd, String,
description: "The directory the task will be run from."
@@ -57,7 +57,8 @@ class Chef
default: false
property :interactive_enabled, [TrueClass, FalseClass],
- description: "", default: false
+ description: "Allow task to run interactively or non-interactively. Requires user and password to also be set.",
+ default: false
property :frequency_modifier, [Integer, String],
default: 1
@@ -90,7 +91,7 @@ class Chef
description: "For :on_idle frequency, the time (in minutes) without user activity that must pass to trigger the task, from 1 - 999."
property :random_delay, [String, Integer],
- description: ""
+ description: "Delays the task upto given time (in seconds)."
property :execution_time_limit, [String, Integer],
description: "The maximum time (in seconds) the task will run.",