summaryrefslogtreecommitdiffstats
path: root/test/network/client/client.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-10-05 14:25:29 -0500
committerLuke Kanies <luke@madstop.com>2007-10-05 14:25:29 -0500
commitf084d83df1abf51766e2dd390e118f1189864346 (patch)
treecbff216064768461dac362abab515c3f1ba6e349 /test/network/client/client.rb
parent9c58c476c2ffcf9613f14e5881b1177f01d413a7 (diff)
downloadpuppet-f084d83df1abf51766e2dd390e118f1189864346.tar.gz
puppet-f084d83df1abf51766e2dd390e118f1189864346.tar.xz
puppet-f084d83df1abf51766e2dd390e118f1189864346.zip
Another round of test-fixing around the changes I made
to the configuration system. 'puppet' itself still works, even with -e, but I expect that puppetd and puppetmasterd are broken, and there are still quite a few broken tests because the default fact store can't write but that's the default behaviour for a networked configuration master.
Diffstat (limited to 'test/network/client/client.rb')
-rwxr-xr-xtest/network/client/client.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/network/client/client.rb b/test/network/client/client.rb
index 484c794e4..e08da357c 100755
--- a/test/network/client/client.rb
+++ b/test/network/client/client.rb
@@ -141,17 +141,11 @@ class TestClient < Test::Unit::TestCase
end
def test_classfile
- manifest = tempfile()
-
- File.open(manifest, "w") do |file|
- file.puts "class yaytest {}\n class bootest {}\n include yaytest, bootest"
- end
+ Puppet[:code] = "class yaytest {}\n class bootest {}\n include yaytest, bootest"
master = client = nil
assert_nothing_raised() {
master = Puppet::Network::Handler.master.new(
- :Manifest => manifest,
- :UseNodes => false,
:Local => false
)
}