diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-02-23 19:14:56 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-03-04 13:52:44 -0800 |
commit | c3552dc11831379a4b4753964451498e1340611e (patch) | |
tree | eb7aba75e15ca4ddd51afb61d8b850fb9d25edc3 /lib/chef/provider/batch.rb | |
parent | 0bb2861228fd33fd6a4ef296a1dd223abb6dec9f (diff) | |
download | chef-c3552dc11831379a4b4753964451498e1340611e.tar.gz |
provider_resolver migration from provider_mapping
- move macosx providers to dynamic resolution
- move windows providers to dynamic resolution
- move openbsd/netbsd providers to dynamic resolution
- move all cron providers to dynamic resolution
- move mdadm to static mapping
Diffstat (limited to 'lib/chef/provider/batch.rb')
-rw-r--r-- | lib/chef/provider/batch.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/provider/batch.rb b/lib/chef/provider/batch.rb index 354a640e59..b6b386e5a8 100644 --- a/lib/chef/provider/batch.rb +++ b/lib/chef/provider/batch.rb @@ -22,6 +22,8 @@ class Chef class Provider class Batch < Chef::Provider::WindowsScript + provides :batch, os: "windows" + def initialize (new_resource, run_context) super(new_resource, run_context, '.bat') end |