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, 2 insertions, 0 deletions
diff --git a/lib/chef/resource/batch.rb b/lib/chef/resource/batch.rb
index 576e6b4c6b..c091ec56b6 100644
--- a/lib/chef/resource/batch.rb
+++ b/lib/chef/resource/batch.rb
@@ -22,6 +22,8 @@ class Chef
class Resource
class Batch < Chef::Resource::WindowsScript
+ provides :batch, os: "windows"
+
def initialize(name, run_context=nil)
super(name, run_context, :batch, "cmd.exe")
end