lib/bolt/transport/base.rb in bolt-0.16.4 vs lib/bolt/transport/base.rb in bolt-0.17.0
- old
+ new
@@ -32,9 +32,12 @@
# to execute a batch of nodes. In that case, those Transports should accept
# a block argument and call it with a :node_start event for each Target
# before executing, and a :node_result event for each Target after
# execution.
class Base
+ STDIN_METHODS = %w[both stdin].freeze
+ ENVIRONMENT_METHODS = %w[both environment].freeze
+
attr_reader :logger
def initialize(_config)
@logger = Logging.logger[self]
end