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

Version Path
puppet-2.7.26 test/lib/puppettest/reporttesting.rb
puppet-2.7.25 test/lib/puppettest/reporttesting.rb
puppet-2.7.24 test/lib/puppettest/reporttesting.rb
puppet-2.7.23 test/lib/puppettest/reporttesting.rb
puppet-2.7.22 test/lib/puppettest/reporttesting.rb
puppet-2.7.21 test/lib/puppettest/reporttesting.rb
puppet-2.6.18 test/lib/puppettest/reporttesting.rb
puppet-2.7.20 test/lib/puppettest/reporttesting.rb
puppet-2.7.20.rc1 test/lib/puppettest/reporttesting.rb
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/puppet-2.7.18/test/lib/puppettest/reporttesting.rb
puppet-2.7.19 test/lib/puppettest/reporttesting.rb
supply_drop-0.11.0 examples/vendored-puppet/vendor/puppet-2.7.8/test/lib/puppettest/reporttesting.rb
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/puppet-2.7.18/test/lib/puppettest/reporttesting.rb
supply_drop-0.10.2 examples/vendored-puppet/vendor/puppet-2.7.8/test/lib/puppettest/reporttesting.rb
puppet-2.7.18 test/lib/puppettest/reporttesting.rb
puppet-2.6.17 test/lib/puppettest/reporttesting.rb
supply_drop-0.10.1 examples/vendored-puppet/vendor/puppet-2.7.8/test/lib/puppettest/reporttesting.rb
supply_drop-0.10.0 examples/vendored-puppet/vendor/puppet-2.7.8/test/lib/puppettest/reporttesting.rb
puppet-2.7.17 test/lib/puppettest/reporttesting.rb
puppet-2.7.16 test/lib/puppettest/reporttesting.rb