summaryrefslogtreecommitdiff
path: root/lib/chef/resource/windows_task.rb
diff options
context:
space:
mode:
authorvasu1105 <vasundhara.jagdale@msystechnologies.com>2018-05-11 15:44:55 +0530
committervasu1105 <vasundhara.jagdale@msystechnologies.com>2018-05-15 16:44:41 +0530
commite72c34556fe132919c4b8d879f5eee4ce67b3135 (patch)
treed248c53c27fbe6279efc6a95f48d81bea25bebc5 /lib/chef/resource/windows_task.rb
parentc0609e449135fae43d436136a4f0fd3889a9b8f1 (diff)
downloadchef-e72c34556fe132919c4b8d879f5eee4ce67b3135.tar.gz
[MSYS-809] Fix for command resource does not handle commands with arguments
Signed-off-by: vasu1105 <vasundhara.jagdale@msystechnologies.com>
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 ec376c9578..42665ef82c 100644
--- a/lib/chef/resource/windows_task.rb
+++ b/lib/chef/resource/windows_task.rb
@@ -60,7 +60,7 @@ class Chef
property :minutes_duration, [String, Integer]
property :minutes_interval, [String, Integer]
- attr_accessor :exists, :task
+ attr_accessor :exists, :task, :command_arguments
SYSTEM_USERS = ['NT AUTHORITY\SYSTEM', "SYSTEM", 'NT AUTHORITY\LOCALSERVICE', 'NT AUTHORITY\NETWORKSERVICE', 'BUILTIN\USERS', "USERS"].freeze
VALID_WEEK_DAYS = %w{ mon tue wed thu fri sat sun * }