From 7efe24f1d157997ab23faab2c4f1431a70cb1c9a Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Fri, 23 Nov 2007 17:10:24 -0600 Subject: Fixing #882 -- I just added a quick hook to the Master handler again; we need a better long-term solution, though. --- lib/puppet/network/handler/master.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/puppet/network/handler/master.rb') diff --git a/lib/puppet/network/handler/master.rb b/lib/puppet/network/handler/master.rb index 1c7f7310e..8d84fe8b8 100644 --- a/lib/puppet/network/handler/master.rb +++ b/lib/puppet/network/handler/master.rb @@ -64,7 +64,10 @@ class Puppet::Network::Handler Puppet::Node::Facts.new(client, facts).save unless local? # And get the configuration from the config handler - config = config_handler.configuration(client) + config = nil + benchmark(:notice, "Compiled configuration for %s" % client) do + config = config_handler.configuration(client) + end return translate(config.extract) end -- cgit