Method: Puppet::Util::Warnings.warnonce

Defined in:
lib/puppet/util/warnings.rb

.warnonce(msg) ⇒ Object



17
18
19
# File 'lib/puppet/util/warnings.rb', line 17

def warnonce(msg)
  Puppet::Util::Warnings.maybe_log(msg, self.class) { Puppet.warning msg }
end