summaryrefslogtreecommitdiffstats
path: root/lib/puppet/network/handler/status.rb
blob: fbdc7a765f85f4e6c42e4d2cc7347b6fee5bd25e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class Puppet::Network::Handler
    class Status < Handler
        desc "A simple interface for testing Puppet connectivity."

        side :client

        @interface = XMLRPC::Service::Interface.new("status") { |iface|
            iface.add_method("int status()")
        }

        def status(client = nil, clientip = nil)
            return 1
        end
    end
end