Sha256: ad59c436c3c57632ba65db07d1b76b8b4867d03c00a81e339b39e3542473be2a

Contents?: true

Size: 957 Bytes

Versions: 28

Compression:

Stored size: 957 Bytes

Contents

#
# Author:: Adam Edwards (<adamed@opscode.com>)
# Copyright:: Copyright (c) 2013 Opscode, Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

require 'chef/resource/windows_script'

class Chef
  class Resource
    class PowershellScript < Chef::Resource::WindowsScript

      def initialize(name, run_context=nil)
        super(name, run_context, :powershell_script, "powershell.exe")
      end

    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
chef-11.8.2.rc.0-x86-mingw32 lib/chef/resource/powershell_script.rb
chef-11.8.2.rc.0 lib/chef/resource/powershell_script.rb
chef-11.8.0-x86-mingw32 lib/chef/resource/powershell_script.rb
chef-11.8.0 lib/chef/resource/powershell_script.rb
chef-11.8.0.rc.4 lib/chef/resource/powershell_script.rb
chef-11.8.0.rc.4-x86-mingw32 lib/chef/resource/powershell_script.rb
chef-11.8.0.rc.1-x86-mingw32 lib/chef/resource/powershell_script.rb
chef-11.8.0.rc.1 lib/chef/resource/powershell_script.rb