diff options
author | Luke Kanies <luke@madstop.com> | 2007-10-05 14:25:29 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2007-10-05 14:25:29 -0500 |
commit | f084d83df1abf51766e2dd390e118f1189864346 (patch) | |
tree | cbff216064768461dac362abab515c3f1ba6e349 /test/network/client/client.rb | |
parent | 9c58c476c2ffcf9613f14e5881b1177f01d413a7 (diff) | |
download | puppet-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-x | test/network/client/client.rb | 8 |
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 ) } |