Sha256: 3a621aca608b6eda78112a0ca746f39caf2f342c75a123ae434df4704ec8d478

Contents?: true

Size: 376 Bytes

Versions: 4

Compression:

Stored size: 376 Bytes

Contents

require 'tracebin/logger'
require 'tracebin/reporter'

module Tracebin
  class PuppetMaster
    def initialize(puppet, options = {})
      @puppet = puppet
      @logger = RequestLogger.new(options[:logger])
      @storage = ::Tracebin::Agent.storage
    end

    def process
      # @logger.display_payload @puppet.payload
      @storage << @puppet.payload
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tracebin-0.0.11 lib/tracebin/puppet_master.rb
tracebin-0.0.10 lib/tracebin/puppet_master.rb
tracebin-0.0.9 lib/tracebin/puppet_master.rb
tracebin-0.0.8 lib/tracebin/puppet_master.rb