summaryrefslogtreecommitdiffstats
path: root/lib/puppet/network/xmlrpc/server.rb
blob: e7435268a4d096b1ba11dd9b2c5f5a8ad273dc68 (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