Method: Puppet::Configurer#warn_fact_name_length

Defined in:
lib/puppet/configurer.rb

#warn_fact_name_length(name, max_length) ⇒ Object



138
139
140
# File 'lib/puppet/configurer.rb', line 138

def warn_fact_name_length(name, max_length)
  Puppet.warning _("Fact %{name} with length: '%{length}' exceeds the length limit: %{limit}") % { name: name, length: name.to_s.bytesize, limit: max_length }
end