summaryrefslogtreecommitdiffstats
path: root/lib/puppet/network/client.rb
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-03-19 17:43:58 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-03-19 17:43:58 +0000
commit531136ef9ef7bfa1626fb967708e7289be7fb23e (patch)
treed117a6839de937c1a291aeec4d909666dae1f1be /lib/puppet/network/client.rb
parent0153a0618396847dc1ecb05be4745adad9c34a45 (diff)
downloadpuppet-531136ef9ef7bfa1626fb967708e7289be7fb23e.tar.gz
puppet-531136ef9ef7bfa1626fb967708e7289be7fb23e.tar.xz
puppet-531136ef9ef7bfa1626fb967708e7289be7fb23e.zip
Updating the config generation stuff a bit, mostly just cleanup, but also changing the servername fact to be the fqdn of the server.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2321 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/network/client.rb')
-rw-r--r--lib/puppet/network/client.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/network/client.rb b/lib/puppet/network/client.rb
index c08acabb1..13f1878fd 100644
--- a/lib/puppet/network/client.rb
+++ b/lib/puppet/network/client.rb
@@ -78,6 +78,7 @@ class Puppet::Network::Client
driverparam = self.class.drivername
if hash.include?(:Server)
args = {:Server => hash[:Server]}
+ @server = hash[:Server]
args[:Port] = hash[:Port] || Puppet[:masterport]
@driver = self.class.xmlrpc_client.new(args)