Module: Hiera::Puppet_logger

### Home Classes Methods

### In Files

- lib/hiera/puppet_logger.rb

### Methods

- ::debug
- ::suitable?
- ::warn

### Class/Module Index

Quicksearch

- Hiera
- Hiera::Backend
- Hiera::Backend::Json_backend
- Hiera::Backend::Yaml_backend
- Hiera::Config
- Hiera::Console_logger
- Hiera::FallbackLogger
- Hiera::Filecache
- Hiera::Noop_logger
- Hiera::Puppet_logger
- Hiera::RecursiveLookup
- Hiera::Util

No matching classes.

# Hiera::Puppet_logger

### Public Class Methods

debug(msg) click to toggle source

    # File lib/hiera/puppet_logger.rb, line 12
    def debug(msg)
      Puppet.debug("hiera(): #{msg}")
    end

suitable?() click to toggle source

    # File lib/hiera/puppet_logger.rb, line 4
    def suitable?
      Kernel.const_defined?(:Puppet)
    end

warn(msg) click to toggle source

    # File lib/hiera/puppet_logger.rb, line 8
    def warn(msg)
      Puppet.notice("hiera(): #{msg}")
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.