diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-03-03 21:12:50 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2020-03-03 21:15:06 -0800 |
commit | 39a1e0f0bea5103924b21400f4aeb890dffa405b (patch) | |
tree | 4e919ad41ca2776108b55b11fc80eb51ee3fb3bc /lib/chef/resource/windows_task.rb | |
parent | 633c4445e00f3174d156ac69a05be117a3fd0456 (diff) | |
download | chef-39a1e0f0bea5103924b21400f4aeb890dffa405b.tar.gz |
Remove the canonical DSL
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/resource/windows_task.rb')
-rw-r--r-- | lib/chef/resource/windows_task.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/resource/windows_task.rb b/lib/chef/resource/windows_task.rb index c29a951d74..2b866026ec 100644 --- a/lib/chef/resource/windows_task.rb +++ b/lib/chef/resource/windows_task.rb @@ -1,6 +1,6 @@ # # Author:: Nimisha Sharad (<nimisha.sharad@msystechnologies.com>) -# Copyright:: Copyright 2008-2016, Chef Software Inc. +# Copyright:: Copyright 2008-2020, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,7 +22,6 @@ require_relative "../win32/security" if Chef::Platform.windows? class Chef class Resource class WindowsTask < Chef::Resource - resource_name :windows_task provides(:windows_task) { true } description "Use the windows_task resource to create, delete or run a Windows scheduled task. Requires Windows Server 2008 or later due to API usage." |