[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.6-1-356-g5718585
Luke Kanies
luke at madstop.com
Fri Jan 23 14:21:23 UTC 2009
The following commit has been merged in the master branch:
commit b08002e45aa051b84e2feaab75dce8fd5016ce39
Author: Luke Kanies <luke at madstop.com>
Date: Wed Oct 8 22:13:52 2008 -0500
Fixing some tests that were broken in the fix for #1633
Signed-off-by: Luke Kanies <luke at madstop.com>
diff --git a/test/lib/puppettest/reporttesting.rb b/test/lib/puppettest/reporttesting.rb
index 9b1764c..4d88c3c 100644
--- a/test/lib/puppettest/reporttesting.rb
+++ b/test/lib/puppettest/reporttesting.rb
@@ -6,8 +6,6 @@ module PuppetTest::Reporttesting
3.times { |i|
# We have to use warning so that the logs always happen
log = Puppet.warning("Report test message %s" % i)
- log.tags = %w{a list of tags}
- log.tags << "tag%s" % i
report.newlog(log)
}
diff --git a/test/other/report.rb b/test/other/report.rb
index 9894e2a..9d0bb48 100755
--- a/test/other/report.rb
+++ b/test/other/report.rb
@@ -21,7 +21,7 @@ class TestReports < Test::Unit::TestCase
# Make every third file
File.open(file, "w") { |f| f.puts "" } if i % 3 == 0
- objects << Puppet::Type.newfile(
+ objects << Puppet::Type.type(:file).create(
:path => file,
:ensure => "file"
)
@@ -44,7 +44,7 @@ class TestReports < Test::Unit::TestCase
}
# Now make a file for testing logging
- file = Puppet::Type.newfile(:path => tempfile(), :ensure => "file")
+ file = Puppet::Type.type(:file).create(:path => tempfile(), :ensure => "file")
file.finish
log = nil
@@ -91,8 +91,6 @@ class TestReports < Test::Unit::TestCase
3.times { |i|
log = Puppet.warning("Report test message %s" % i)
- log.tags = %w{a list of tags}
- log.tags << "tag%s" % i
report.newlog(log)
}
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list