Sha256: a0b01498813fd2c1be09850cdf39e1dd18c84765ab252c44b57aed11304ca7e3

Contents?: true

Size: 379 Bytes

Versions: 7

Compression:

Stored size: 379 Bytes

Contents

require 'puppet/resource_api/base_context'
require 'puppet/util/logging'

class Puppet::ResourceApi::PuppetContext < Puppet::ResourceApi::BaseContext
  # declare a separate class to encapsulate Puppet's logging facilities
  class PuppetLogger
    extend Puppet::Util::Logging
  end

  protected

  def send_log(level, message)
    PuppetLogger.send_log(level, message)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
puppet-resource_api-0.10.0 lib/puppet/resource_api/puppet_context.rb
puppet-resource_api-0.9.0 lib/puppet/resource_api/puppet_context.rb
puppet-resource_api-0.3.0 lib/puppet/resource_api/puppet_context.rb
puppet-resource_api-0.2.2 lib/puppet/resource_api/puppet_context.rb
puppet-resource_api-0.2.1 lib/puppet/resource_api/puppet_context.rb
puppet-resource_api-0.2.0 lib/puppet/resource_api/puppet_context.rb
puppet-resource_api-0.1.0 lib/puppet/resource_api/puppet_context.rb