summaryrefslogtreecommitdiffstats
path: root/lib/puppet/network
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/network')
-rw-r--r--lib/puppet/network/authconfig.rb1
-rw-r--r--lib/puppet/network/client.rb3
-rw-r--r--lib/puppet/network/xmlrpc/client.rb1
3 files changed, 0 insertions, 5 deletions
diff --git a/lib/puppet/network/authconfig.rb b/lib/puppet/network/authconfig.rb
index b058012f5..932d6da6d 100644
--- a/lib/puppet/network/authconfig.rb
+++ b/lib/puppet/network/authconfig.rb
@@ -7,7 +7,6 @@ module Puppet
def self.main
@main ||= self.new()
- @main
end
# Just proxy the setting methods to our rights stuff
diff --git a/lib/puppet/network/client.rb b/lib/puppet/network/client.rb
index 1d720ccdb..f9c50cd60 100644
--- a/lib/puppet/network/client.rb
+++ b/lib/puppet/network/client.rb
@@ -49,19 +49,16 @@ class Puppet::Network::Client
# client/server stuff. E.g., you could call Client::CA.new(:CA => ca).
def self.drivername
@drivername ||= self.name
- @drivername
end
# Figure out the handler for our client.
def self.handler
@handler ||= Puppet::Network::Handler.handler(self.name)
- @handler
end
# The class that handles xmlrpc interaction for us.
def self.xmlrpc_client
@xmlrpc_client ||= Puppet::Network::XMLRPCClient.handler_class(self.handler)
- @xmlrpc_client
end
# Create our client.
diff --git a/lib/puppet/network/xmlrpc/client.rb b/lib/puppet/network/xmlrpc/client.rb
index 5bcd5fbc9..3afd1dcc7 100644
--- a/lib/puppet/network/xmlrpc/client.rb
+++ b/lib/puppet/network/xmlrpc/client.rb
@@ -151,7 +151,6 @@ module Puppet::Network
def http
@http ||= Puppet::Network::HttpPool.http_instance(host, port, true)
- @http
end
attr_reader :host, :port