summaryrefslogtreecommitdiffstats
path: root/bin/puppetmasterd
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-11-03 22:15:09 -0600
committerLuke Kanies <luke@madstop.com>2008-11-03 22:15:09 -0600
commit255c9fbcc00c4f2bb2252b9eadff195a1feb77f4 (patch)
treef3943d4dcbc125d724e5635b16e40d51b13de7e8 /bin/puppetmasterd
parent7fdf2bb23fbc5a3cb2468fb6b980eaf556d29c64 (diff)
downloadpuppet-255c9fbcc00c4f2bb2252b9eadff195a1feb77f4.tar.gz
puppet-255c9fbcc00c4f2bb2252b9eadff195a1feb77f4.tar.xz
puppet-255c9fbcc00c4f2bb2252b9eadff195a1feb77f4.zip
Setting puppetmasterd up to serve all indirected classes.
Signed-off-by: Luke Kanies <luke@madstop.com>
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