Details
-
Task
-
Status: Resolved
-
Normal
-
Resolution: Done
-
None
-
None
-
- All tests in win32_taskscheduler2_spec.rb pass
- Any new tests needed are added
-
Windows
-
Windows Kanban
-
Needs Assessment
Description
- Copy / paste https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/scheduled_task/win32_taskscheduler.rb to win32_taskscheduler2.rb and rename provider to :win32_taskscheduler2.
- Update any usage of Win32::TaskScheduler to Win32::TaskScheduler2, including references to constants
- Remove calls to any methods not present in Win32::TaskScheduler2 as needed - for instance, the concept of Activate may no longer make sense
- Copy / paste the file at https://github.com/puppetlabs/puppet/blob/master/spec/unit/provider/scheduled_task/win32_taskscheduler_spec.rb to win32_taskscheduler2_spec.rb and update references from Win32::TaskScheduler to Win32::TaskScheduler2. Remove any tests that deal with specific v1 implementation details (like how task files are generated on disk)
Attachments
Issue Links
- blocks
-
MODULES-6265 scheduled_task : Add tests to scheduled_task_spec.rb for default provider checks
-
- Closed
-
- is blocked by
-
MODULES-6264 scheduled_task : Create windows/taskscheduler2
-
- Resolved
-