Sha256: 662713fd9b6901758fab281688c389b90fda49838448642f3e003ee272ccc2e8

Contents?: true

Size: 409 Bytes

Versions: 1

Compression:

Stored size: 409 Bytes

Contents

module VagrantPlugins
  module DockerProvider
    module Action
      # This middleware is used with Call to test if this machine supports
      # SSH.
      class HasSSH
        def initialize(app, env)
          @app    = app
        end

        def call(env)
          env[:result] = env[:machine].provider_config.has_ssh
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-cloudstack-1.2.0 vendor/bundle/bundler/gems/vagrant-c84e05fd063f/plugins/providers/docker/action/has_ssh.rb