Sha256: 1f488973b49e921c205bedff3eb559b8e91a7318111cc700e238be4a6c930b71

Contents?: true

Size: 360 Bytes

Versions: 29

Compression:

Stored size: 360 Bytes

Contents

module Serverspec
  module Helper
    module WinRM
      def backend(commands_object=nil)
        if ! respond_to?(:commands)
          commands_object = Serverspec::Commands::Windows.new
        end
        instance = Serverspec::Backend::WinRM.instance
        instance.set_commands(commands_object || commands)
        instance
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
serverspec-0.11.5 lib/serverspec/helper/winrm.rb
serverspec-0.11.4 lib/serverspec/helper/winrm.rb
serverspec-0.11.3 lib/serverspec/helper/winrm.rb
serverspec-0.11.2 lib/serverspec/helper/winrm.rb
serverspec-0.11.1 lib/serverspec/helper/winrm.rb
serverspec-0.11.0 lib/serverspec/helper/winrm.rb
serverspec-0.10.13 lib/serverspec/helper/winrm.rb
serverspec-0.10.12 lib/serverspec/helper/winrm.rb
serverspec-0.10.11 lib/serverspec/helper/winrm.rb
serverspec-0.10.10 lib/serverspec/helper/winrm.rb
serverspec-0.10.9 lib/serverspec/helper/winrm.rb
serverspec-0.10.8 lib/serverspec/helper/winrm.rb
serverspec-0.10.7 lib/serverspec/helper/winrm.rb
serverspec-0.10.6 lib/serverspec/helper/winrm.rb
serverspec-0.10.5 lib/serverspec/helper/winrm.rb
serverspec-0.10.4 lib/serverspec/helper/winrm.rb
serverspec-0.10.3 lib/serverspec/helper/winrm.rb
serverspec-0.10.2 lib/serverspec/helper/winrm.rb
serverspec-0.10.1 lib/serverspec/helper/winrm.rb
serverspec-0.10.0 lib/serverspec/helper/winrm.rb