summaryrefslogtreecommitdiff
path: root/lib/chef
diff options
context:
space:
mode:
authoradamedx <adamed@opscode.com>2013-06-23 23:13:03 -0700
committeradamedx <adamed@opscode.com>2013-06-25 06:05:11 -0700
commit348c3dd86eb77e58e439cff780c5fd86c12daef7 (patch)
tree5d799b2cc506fa69ce95fb756d7f085eb9a7c5e6 /lib/chef
parent843becc1c3f8ccd941db19450ccb7bbb9ca5f96f (diff)
downloadchef-348c3dd86eb77e58e439cff780c5fd86c12daef7.tar.gz
OC-8337: Architecture functional test coverage
Diffstat (limited to 'lib/chef')
-rw-r--r--lib/chef/provider/powershell_script.rb2
-rw-r--r--lib/chef/providers.rb2
-rw-r--r--lib/chef/resource/powershell_script.rb4
-rw-r--r--lib/chef/resources.rb2
4 files changed, 5 insertions, 5 deletions
diff --git a/lib/chef/provider/powershell_script.rb b/lib/chef/provider/powershell_script.rb
index aaa4a9255e..d158ebc4ef 100644
--- a/lib/chef/provider/powershell_script.rb
+++ b/lib/chef/provider/powershell_script.rb
@@ -20,7 +20,7 @@ require 'chef/provider/windows_script'
class Chef
class Provider
- class Powershell < Chef::Provider::WindowsScript
+ class PowershellScript < Chef::Provider::WindowsScript
def initialize (new_resource, run_context)
super(new_resource, run_context, '.ps1')
diff --git a/lib/chef/providers.rb b/lib/chef/providers.rb
index e889573fd8..e0039428f2 100644
--- a/lib/chef/providers.rb
+++ b/lib/chef/providers.rb
@@ -37,7 +37,7 @@ require 'chef/provider/ohai'
require 'chef/provider/mdadm'
require 'chef/provider/mount'
require 'chef/provider/package'
-require 'chef/provider/powershell'
+require 'chef/provider/powershell_script'
require 'chef/provider/remote_directory'
require 'chef/provider/remote_file'
require 'chef/provider/route'
diff --git a/lib/chef/resource/powershell_script.rb b/lib/chef/resource/powershell_script.rb
index e726e6f35a..e257eb2fb1 100644
--- a/lib/chef/resource/powershell_script.rb
+++ b/lib/chef/resource/powershell_script.rb
@@ -20,10 +20,10 @@ require 'chef/resource/windows_script'
class Chef
class Resource
- class Powershell < Chef::Resource::WindowsScript
+ class PowershellScript < Chef::Resource::WindowsScript
def initialize(name, run_context=nil)
- super(name, run_context, :powershell, "powershell.exe")
+ super(name, run_context, :powershell_script, "powershell.exe")
end
end
diff --git a/lib/chef/resources.rb b/lib/chef/resources.rb
index 1b295fc4e1..55c6a0dbf3 100644
--- a/lib/chef/resources.rb
+++ b/lib/chef/resources.rb
@@ -50,7 +50,7 @@ require 'chef/resource/package'
require 'chef/resource/pacman_package'
require 'chef/resource/perl'
require 'chef/resource/portage_package'
-require 'chef/resource/powershell'
+require 'chef/resource/powershell_script'
require 'chef/resource/python'
require 'chef/resource/registry_key'
require 'chef/resource/remote_directory'