summaryrefslogtreecommitdiff
path: root/lib/chef/resource/batch.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/batch.rb')
-rw-r--r--lib/chef/resource/batch.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/batch.rb b/lib/chef/resource/batch.rb
index d79127e2f3..8a19e04174 100644
--- a/lib/chef/resource/batch.rb
+++ b/lib/chef/resource/batch.rb
@@ -22,7 +22,7 @@ class Chef
class Resource
class Batch < Chef::Resource::WindowsScript
- resource_name :batch
+ use_automatic_resource_name
provides :batch, os: "windows"
def initialize(name, run_context=nil)