diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-04-04 23:13:55 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-04-04 23:13:55 +0000 |
| commit | e8c04716b2e3ef348848d85ed88c886bd43d95df (patch) | |
| tree | f2b813830ba9e43d2a63f95110b0aa72d6809c0f /test/client | |
| parent | 92302895549800d9d8384b2cc77f9b5bb4dc1fd1 (diff) | |
| download | puppet-e8c04716b2e3ef348848d85ed88c886bd43d95df.tar.gz puppet-e8c04716b2e3ef348848d85ed88c886bd43d95df.tar.xz puppet-e8c04716b2e3ef348848d85ed88c886bd43d95df.zip | |
Fixing a couple of bugs in preparation for 0.15.2; mostly they were in the testing system and resulted from changing :File to :Manifest in server/master
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1068 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/client')
| -rw-r--r-- | test/client/client.rb | 7 | ||||
| -rw-r--r-- | test/client/master.rb | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/test/client/client.rb b/test/client/client.rb index c96feb943..41d55dab2 100644 --- a/test/client/client.rb +++ b/test/client/client.rb @@ -149,9 +149,9 @@ class TestClient < Test::Unit::TestCase master = client = nil assert_nothing_raised() { master = Puppet::Server::Master.new( - :File => manifest, + :Manifest => manifest, :UseNodes => false, - :Local => true + :Local => false ) } assert_nothing_raised() { @@ -160,6 +160,9 @@ class TestClient < Test::Unit::TestCase ) } + # Fake that it's local, so it creates the class file + client.local = false + assert_nothing_raised { client.getconfig } diff --git a/test/client/master.rb b/test/client/master.rb index 7ec440cc6..11d49ac85 100644 --- a/test/client/master.rb +++ b/test/client/master.rb @@ -21,7 +21,7 @@ class TestMasterClient < Test::Unit::TestCase assert_nothing_raised() { # this is the default server setup master = Puppet::Server::Master.new( - :File => file, + :Manifest => file, :UseNodes => false, :Local => true ) |
