Sha256: e1c4a8c2df613c0e0fcc4db030911143bbe61fd858dbfa01606bbc43b6fd0c30

Contents?: true

Size: 265 Bytes

Versions: 7

Compression:

Stored size: 265 Bytes

Contents

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

class Puppet::ResourceApi::PuppetContext < Puppet::ResourceApi::BaseContext
  protected

  def send_log(level, message)
    Puppet::Util::Log.create(level: level, message: message)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
puppet-resource_api-1.3.0 lib/puppet/resource_api/puppet_context.rb
puppet-resource_api-1.2.0 lib/puppet/resource_api/puppet_context.rb
puppet-resource_api-1.1.0 lib/puppet/resource_api/puppet_context.rb
puppet-resource_api-1.0.3 lib/puppet/resource_api/puppet_context.rb
puppet-resource_api-1.0.2 lib/puppet/resource_api/puppet_context.rb
puppet-resource_api-1.0.1 lib/puppet/resource_api/puppet_context.rb
puppet-resource_api-1.0.0 lib/puppet/resource_api/puppet_context.rb