Sha256: 3b5c4ac91e2f21befe0b18a3495777ddbe94142b7e964393d1a8e200b662bb6a
Contents?: true
Size: 592 Bytes
Versions: 14
Compression:
Stored size: 592 Bytes
Contents
# frozen_string_literal: true module Bolt module Transport class Local < Sudoable def self.options %w[tmpdir interpreters sudo-password run-as run-as-command] end def provided_features ['shell'] end def self.validate(options) logger = Logging.logger[self] validate_sudo_options(options, logger) 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
14 entries across 14 versions & 1 rubygems