summaryrefslogtreecommitdiff
path: root/lib/chef/platform/provider_mapping.rb
diff options
context:
space:
mode:
authoradamedx <adamed@opscode.com>2013-11-30 22:37:56 -0800
committerAdam Edwards <adamed@opscode.com>2014-03-29 00:20:49 -0700
commit89e3f72da3bee3286ca4b05300eb9919cd09f6b6 (patch)
treed85aea60f8b9805bd11bfe776cb7c8c8ffbbd440 /lib/chef/platform/provider_mapping.rb
parentcd5b774fbb05f548e9e45de83ea73d3e8932a6af (diff)
downloadchef-89e3f72da3bee3286ca4b05300eb9919cd09f6b6.tar.gz
Add missing batch / powershell_script resource platform mappings
Diffstat (limited to 'lib/chef/platform/provider_mapping.rb')
-rw-r--r--lib/chef/platform/provider_mapping.rb12
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/chef/platform/provider_mapping.rb b/lib/chef/platform/provider_mapping.rb
index 2f934faa3e..a773da550e 100644
--- a/lib/chef/platform/provider_mapping.rb
+++ b/lib/chef/platform/provider_mapping.rb
@@ -241,7 +241,9 @@ class Chef
:service => Chef::Provider::Service::Windows,
:user => Chef::Provider::User::Windows,
:group => Chef::Provider::Group::Windows,
- :mount => Chef::Provider::Mount::Windows
+ :mount => Chef::Provider::Mount::Windows,
+ :batch => Chef::Provider::Batch,
+ :powershell_script => Chef::Provider::PowershellScript
}
},
:mingw32 => {
@@ -250,7 +252,9 @@ class Chef
:service => Chef::Provider::Service::Windows,
:user => Chef::Provider::User::Windows,
:group => Chef::Provider::Group::Windows,
- :mount => Chef::Provider::Mount::Windows
+ :mount => Chef::Provider::Mount::Windows,
+ :batch => Chef::Provider::Batch,
+ :powershell_script => Chef::Provider::PowershellScript
}
},
:windows => {
@@ -259,7 +263,9 @@ class Chef
:service => Chef::Provider::Service::Windows,
:user => Chef::Provider::User::Windows,
:group => Chef::Provider::Group::Windows,
- :mount => Chef::Provider::Mount::Windows
+ :mount => Chef::Provider::Mount::Windows,
+ :batch => Chef::Provider::Batch,
+ :powershell_script => Chef::Provider::PowershellScript
}
},
:solaris => {},