summaryrefslogtreecommitdiffstats
path: root/test/client
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-08-23 21:23:57 +0000
committerLuke Kanies <luke@madstop.com>2005-08-23 21:23:57 +0000
commit5b20c92ff322ba1886209f788ce6a7df05315cf5 (patch)
tree8b75ab42323ef07de4a5cab6182b4c8eff8eb5da /test/client
parentba51e700ace1b34b2dbb06bc61287be184fe46ec (diff)
downloadpuppet-5b20c92ff322ba1886209f788ce6a7df05315cf5.tar.gz
puppet-5b20c92ff322ba1886209f788ce6a7df05315cf5.tar.xz
puppet-5b20c92ff322ba1886209f788ce6a7df05315cf5.zip
Have done a significant reorganization of how clients work, also, along with some interesting trouble shooting on components
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@585 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/client')
-rw-r--r--test/client/tc_client.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/client/tc_client.rb b/test/client/tc_client.rb
index f82240225..5823e6e32 100644
--- a/test/client/tc_client.rb
+++ b/test/client/tc_client.rb
@@ -1,8 +1,7 @@
if __FILE__ == $0
$:.unshift '..'
$:.unshift '../../lib'
- $:.unshift '../../../../language/trunk/lib'
- $puppetbase = "../../../../language/trunk/"
+ $puppetbase = "../.."
end
require 'puppet'
@@ -62,7 +61,10 @@ class TestClient < Test::Unit::TestCase
@@tmppids << spid
client = nil
assert_nothing_raised {
- client = Puppet::Client.new(:Server => "localhost", :Port => port)
+ client = Puppet::Client::MasterClient.new(
+ :Server => "localhost",
+ :Port => port
+ )
}
assert_nothing_raised {
client.initcerts