Sha256: 35bcd7660c4ff1476afe7dd054ffca4413f88eae3629274b1e52eabb6c6fac1e

Contents?: true

Size: 388 Bytes

Versions: 148

Compression:

Stored size: 388 Bytes

Contents

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

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

Version data entries

148 entries across 148 versions & 3 rubygems

Version Path
bolt-0.16.4 vendored/puppet/lib/puppet/functions/warning.rb
bolt-0.16.3 vendored/puppet/lib/puppet/functions/warning.rb
bolt-0.16.2 vendored/puppet/lib/puppet/functions/warning.rb
puppet-5.4.0 lib/puppet/functions/warning.rb
puppet-5.4.0-x86-mingw32 lib/puppet/functions/warning.rb
puppet-5.4.0-x64-mingw32 lib/puppet/functions/warning.rb
puppet-5.4.0-universal-darwin lib/puppet/functions/warning.rb
puppet-5.3.5 lib/puppet/functions/warning.rb
puppet-5.3.5-x86-mingw32 lib/puppet/functions/warning.rb
puppet-5.3.5-x64-mingw32 lib/puppet/functions/warning.rb
puppet-5.3.5-universal-darwin lib/puppet/functions/warning.rb
bolt-0.16.1 vendored/puppet/lib/puppet/functions/warning.rb
puppet-5.3.4 lib/puppet/functions/warning.rb
puppet-5.3.4-x86-mingw32 lib/puppet/functions/warning.rb
puppet-5.3.4-x64-mingw32 lib/puppet/functions/warning.rb
puppet-5.3.4-universal-darwin lib/puppet/functions/warning.rb
puppet-4.10.10 lib/puppet/functions/warning.rb
puppet-4.10.10-x86-mingw32 lib/puppet/functions/warning.rb
puppet-4.10.10-x64-mingw32 lib/puppet/functions/warning.rb
puppet-4.10.10-universal-darwin lib/puppet/functions/warning.rb