Sha256: 2958f1115840f12ba9532e664ae967ef0eac62578755082c42d7e163f0bf48b8

Contents?: true

Size: 379 Bytes

Versions: 148

Compression:

Stored size: 379 Bytes

Contents

# Log a message on the server at level emerg.
Puppet::Functions.create_function(:emerg, Puppet::Functions::InternalFunction) do
  # @param values The values to log.
  # @return [Undef]
  dispatch :emerg do
    scope_param
    repeated_param 'Any', :values
    return_type 'Undef'
  end

  def emerg(scope, *values)
    Puppet::Util::Log.log_func(scope, :emerg, values)
  end
end

Version data entries

148 entries across 148 versions & 3 rubygems

Version Path
puppet-retrospec-1.8.0 vendor/pup410/lib/puppet/functions/emerg.rb
puppet-retrospec-1.7.0 vendor/pup410/lib/puppet/functions/emerg.rb
puppet-5.3.7 lib/puppet/functions/emerg.rb
puppet-5.3.7-x86-mingw32 lib/puppet/functions/emerg.rb
puppet-5.3.7-x64-mingw32 lib/puppet/functions/emerg.rb
puppet-5.3.7-universal-darwin lib/puppet/functions/emerg.rb
puppet-4.10.12 lib/puppet/functions/emerg.rb
puppet-4.10.12-x86-mingw32 lib/puppet/functions/emerg.rb
puppet-4.10.12-x64-mingw32 lib/puppet/functions/emerg.rb
puppet-4.10.12-universal-darwin lib/puppet/functions/emerg.rb
puppet-4.10.11 lib/puppet/functions/emerg.rb
puppet-4.10.11-x86-mingw32 lib/puppet/functions/emerg.rb
puppet-4.10.11-x64-mingw32 lib/puppet/functions/emerg.rb
puppet-4.10.11-universal-darwin lib/puppet/functions/emerg.rb
puppet-5.3.6 lib/puppet/functions/emerg.rb
puppet-5.3.6-x86-mingw32 lib/puppet/functions/emerg.rb
puppet-5.3.6-x64-mingw32 lib/puppet/functions/emerg.rb
puppet-5.3.6-universal-darwin lib/puppet/functions/emerg.rb
bolt-0.17.1 vendored/puppet/lib/puppet/functions/emerg.rb
bolt-0.17.0 vendored/puppet/lib/puppet/functions/emerg.rb