Sha256: 85caef3bc6a9204d8d43759a7b86c490c253786a48642aa8b3bb1d0b999e25a7
Contents?: true
Size: 340 Bytes
Versions: 49
Compression:
Stored size: 340 Bytes
Contents
module PuppetTest::Reporttesting def fakereport # Create a bunch of log messages in an array. report = Puppet::Transaction::Report.new("apply") 3.times { |i| # We have to use warning so that the logs always happen log = Puppet.warning("Report test message #{i}") report << log } report end end
Version data entries
49 entries across 49 versions & 3 rubygems