Sha256: 5856d957cf6b8d0e7306de46ebec58ae6768d8943320c3c84b811074be4ddaec

Contents?: true

Size: 379 Bytes

Versions: 148

Compression:

Stored size: 379 Bytes

Contents

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

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

Version data entries

148 entries across 148 versions & 3 rubygems

Version Path
bolt-0.16.0 vendored/puppet/lib/puppet/functions/alert.rb
bolt-0.15.0 vendored/puppet/lib/puppet/functions/alert.rb
bolt-0.14.0 vendored/puppet/lib/puppet/functions/alert.rb
bolt-0.13.0 vendored/puppet/lib/puppet/functions/alert.rb
puppet-retrospec-1.6.1 vendor/pup410/lib/puppet/functions/alert.rb
bolt-0.12.0 vendored/puppet/lib/puppet/functions/alert.rb
bolt-0.11.0 vendored/puppet/lib/puppet/functions/alert.rb
bolt-0.10.0 vendored/puppet/lib/puppet/functions/alert.rb
puppet-retrospec-1.6.0 vendor/pup410/lib/puppet/functions/alert.rb
bolt-0.9.0 vendored/puppet/lib/puppet/functions/alert.rb
bolt-0.8.0 vendored/puppet/lib/puppet/functions/alert.rb
puppet-4.10.9 lib/puppet/functions/alert.rb
puppet-4.10.9-x86-mingw32 lib/puppet/functions/alert.rb
puppet-4.10.9-x64-mingw32 lib/puppet/functions/alert.rb
puppet-4.10.9-universal-darwin lib/puppet/functions/alert.rb
puppet-5.3.3 lib/puppet/functions/alert.rb
puppet-5.3.3-x86-mingw32 lib/puppet/functions/alert.rb
puppet-5.3.3-x64-mingw32 lib/puppet/functions/alert.rb
puppet-5.3.3-universal-darwin lib/puppet/functions/alert.rb
bolt-0.7.0 vendored/puppet/lib/puppet/functions/alert.rb