diff options
| author | adamedx <adamed@opscode.com> | 2013-02-19 06:53:39 -0800 |
|---|---|---|
| committer | adamedx <adamed@opscode.com> | 2013-02-19 09:32:06 -0800 |
| commit | e20d71a51bb42226571a912dfc70445d2ca10a5c (patch) | |
| tree | 3114733813f33d05d331e260d58ce1f896a797ab /lib/chef/resource/powershell.rb | |
| parent | edf49de5f28bd7c02646582f0bbe02683141b443 (diff) | |
| download | chef-e20d71a51bb42226571a912dfc70445d2ca10a5c.tar.gz | |
OC-4739: Merge functional tests, Win2k3 compatibility
Diffstat (limited to 'lib/chef/resource/powershell.rb')
| -rw-r--r-- | lib/chef/resource/powershell.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/chef/resource/powershell.rb b/lib/chef/resource/powershell.rb index 35474a1af9..e726e6f35a 100644 --- a/lib/chef/resource/powershell.rb +++ b/lib/chef/resource/powershell.rb @@ -16,15 +16,14 @@ # limitations under the License. # -require 'chef/resource/script' -require 'chef/mixin/windows_architecture_helper' +require 'chef/resource/windows_script' class Chef class Resource - class Powershell < Chef::Resource::WindowsSystemScript + class Powershell < Chef::Resource::WindowsScript def initialize(name, run_context=nil) - super(name, run_context, :powershell, "WindowsPowerShell\\v1.0\\powershell.exe") + super(name, run_context, :powershell, "powershell.exe") end end |
