Sha256: c67b2b7117a585b7df91b955a204565eda821bdc1bcde0db838147388fa5f79e

Contents?: true

Size: 361 Bytes

Versions: 4

Compression:

Stored size: 361 Bytes

Contents

# frozen_string_literal: true

module Bolt
  module Transport
    class Local < Sudoable
      def provided_features
        ['shell']
      end

      def with_connection(target, *_args)
        conn = Shell.new(target)
        yield conn
      end

      def connected?(_targets)
        true
      end
    end
  end
end

require 'bolt/transport/local/shell'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bolt-2.4.0 lib/bolt/transport/local.rb
bolt-2.3.1 lib/bolt/transport/local.rb
bolt-2.3.0 lib/bolt/transport/local.rb
bolt-2.2.0 lib/bolt/transport/local.rb