summaryrefslogtreecommitdiffstats
path: root/lib/puppet/network/xmlrpc/server.rb
blob: e548817565fb3da70c1805b78e9acc3f092ecafc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'xmlrpc/server'
require 'puppet/network/authorization'
require 'puppet/network/xmlrpc/processor'

module Puppet::Network
  # Most of our subclassing is just so that we can get
  # access to information from the request object, like
  # the client name and IP address.
  class XMLRPCServer < ::XMLRPC::BasicServer
    include Puppet::Util
    include Puppet::Network::XMLRPCProcessor

    def initialize
      super()
      setup_processor
    end
  end
end