summaryrefslogtreecommitdiff
path: root/lib/chef/resource
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource')
-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.",