summaryrefslogtreecommitdiffstats
path: root/bin/puppetmasterd
diff options
context:
space:
mode:
Diffstat (limited to 'bin/puppetmasterd')
-rwxr-xr-xbin/puppetmasterd4
1 files changed, 3 insertions, 1 deletions
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