Current Path : /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/functions/ |
Current File : //opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/functions/warning.rb |
# Logs a message on the server at level `warning`. 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