summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRick Bradley <rick@rickbradley.com>2008-02-19 15:06:00 -0600
committerLuke Kanies <luke@madstop.com>2008-04-11 13:10:33 -0500
commitc2f8c69af368a8ba496da4ef0023ac5f0885e3c0 (patch)
tree754e1d9bd02ecf1250d3e6bcb2681dbe02583582 /lib
parent13c40e93a5f65255dd3cf93955e83121cc5bb594 (diff)
downloadpuppet-c2f8c69af368a8ba496da4ef0023ac5f0885e3c0.tar.gz
puppet-c2f8c69af368a8ba496da4ef0023ac5f0885e3c0.tar.xz
puppet-c2f8c69af368a8ba496da4ef0023ac5f0885e3c0.zip
the indirector will not serve xmlrpc (this is the responsibility of the legacy networking code; it was a mistake to include stubbed support for it in the new code); removing
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/network/http/mongrel.rb2
-rw-r--r--lib/puppet/network/http/mongrel/xmlrpc.rb4
-rw-r--r--lib/puppet/network/http/webrick.rb2
-rw-r--r--lib/puppet/network/http/webrick/xmlrpc.rb4
4 files changed, 0 insertions, 12 deletions
diff --git a/lib/puppet/network/http/mongrel.rb b/lib/puppet/network/http/mongrel.rb
index 4593f6569..d948836cd 100644
--- a/lib/puppet/network/http/mongrel.rb
+++ b/lib/puppet/network/http/mongrel.rb
@@ -1,7 +1,6 @@
require 'mongrel' if Puppet.features.mongrel?
require 'puppet/network/http/mongrel/rest'
-require 'puppet/network/http/mongrel/xmlrpc'
class Puppet::Network::HTTP::Mongrel
def initialize(args = {})
@@ -47,7 +46,6 @@ class Puppet::Network::HTTP::Mongrel
def class_for_protocol(protocol)
return Puppet::Network::HTTP::MongrelREST if protocol.to_sym == :rest
- return Puppet::Network::HTTP::MongrelXMLRPC if protocol.to_sym == :xmlrpc
raise ArgumentError, "Unknown protocol [#{protocol}]."
end
end
diff --git a/lib/puppet/network/http/mongrel/xmlrpc.rb b/lib/puppet/network/http/mongrel/xmlrpc.rb
deleted file mode 100644
index 92acd4f0e..000000000
--- a/lib/puppet/network/http/mongrel/xmlrpc.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-class Puppet::Network::HTTP::MongrelXMLRPC
- def initialize(args = {})
- end
-end
diff --git a/lib/puppet/network/http/webrick.rb b/lib/puppet/network/http/webrick.rb
index c4b2ed3c6..894e12473 100644
--- a/lib/puppet/network/http/webrick.rb
+++ b/lib/puppet/network/http/webrick.rb
@@ -1,7 +1,6 @@
require 'webrick'
require 'webrick/https'
require 'puppet/network/http/webrick/rest'
-require 'puppet/network/http/webrick/xmlrpc'
class Puppet::Network::HTTP::WEBrick
def initialize(args = {})
@@ -45,7 +44,6 @@ class Puppet::Network::HTTP::WEBrick
def class_for_protocol(protocol)
return Puppet::Network::HTTP::WEBrickREST if protocol.to_sym == :rest
- return Puppet::Network::HTTP::WEBrickXMLRPC if protocol.to_sym == :xmlrpc
raise ArgumentError, "Unknown protocol [#{protocol}]."
end
end
diff --git a/lib/puppet/network/http/webrick/xmlrpc.rb b/lib/puppet/network/http/webrick/xmlrpc.rb
deleted file mode 100644
index 793708f8a..000000000
--- a/lib/puppet/network/http/webrick/xmlrpc.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-class Puppet::Network::HTTP::WEBrickXMLRPC
- def initialize(args = {})
- end
-end