blob: 448a6a9d86fd357ed8593ddb734a69439d78e5b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
module PuppetTest::Reporttesting
def fakereport
# Create a bunch of log messages in an array.
report = Puppet::Transaction::Report.new
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
|