Sha256: d50c68c72c5a42e366bb818c49c29356349c2512fa8f3a3f28cc09aae46cdd7e

Contents?: true

Size: 353 Bytes

Versions: 78

Compression:

Stored size: 353 Bytes

Contents

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

Version data entries

78 entries across 78 versions & 1 rubygems

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