From 255c9fbcc00c4f2bb2252b9eadff195a1feb77f4 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Mon, 3 Nov 2008 22:15:09 -0600 Subject: Setting puppetmasterd up to serve all indirected classes. Signed-off-by: Luke Kanies --- bin/puppetmasterd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/puppetmasterd b/bin/puppetmasterd index 69d1049e2..9c3cc168c 100755 --- a/bin/puppetmasterd +++ b/bin/puppetmasterd @@ -187,7 +187,9 @@ require 'puppet/file_serving/metadata' require 'puppet/checksum' xmlrpc_handlers = [:Status, :FileServer, :Master, :Report, :Filebucket] -rest_handlers = [:file_content, :file_metadata, :certificate, :facts, :catalog, :report, :checksum] + +# Just set up serving to all of the indirected classes. +rest_handlers = Puppet::Indirector::Indirection.instances if Puppet[:ca] xmlrpc_handlers << :CA -- cgit