Anons79 Mini Shell

Directory : /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/hiera/
Upload File :
Current File : //opt/puppetlabs/puppet/lib/ruby/vendor_ruby/hiera/puppet_logger.rb

class Hiera
  module Puppet_logger
    class << self
      def suitable?
        defined?(::Puppet) == "constant"
      end

      def warn(msg)
        Puppet.notice("hiera(): #{msg}")
      end

      def debug(msg)
        Puppet.debug("hiera(): #{msg}")
      end
    end
  end
end

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]