Sha256: b212606bbba31ae1ea3448da5c2c789f2d8b35ee2902a5c903a065ae91719ad7
Contents?: true
Size: 344 Bytes
Versions: 5
Compression:
Stored size: 344 Bytes
Contents
# Methods to help with handling warnings. module Puppet::Util::Warnings module_function def warnonce(msg) $stampwarnings ||= {} $stampwarnings[self.class] ||= [] unless $stampwarnings[self.class].include? msg Puppet.warning msg $stampwarnings[self.class] << msg end end end
Version data entries
5 entries across 5 versions & 1 rubygems