summaryrefslogtreecommitdiffstats
path: root/lib/puppet/network/client
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/network/client')
-rw-r--r--lib/puppet/network/client/master.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/puppet/network/client/master.rb b/lib/puppet/network/client/master.rb
index ae13f8185..8b333faca 100644
--- a/lib/puppet/network/client/master.rb
+++ b/lib/puppet/network/client/master.rb
@@ -175,7 +175,10 @@ class Puppet::Network::Client::Master < Puppet::Network::Client
def getconfig
dostorage()
- facts = self.class.facts
+ facts = nil
+ Puppet::Util.benchmark(:notice, "Retrieved facts") do
+ facts = self.class.facts
+ end
if self.objects or FileTest.exists?(self.cachefile)
if self.fresh?(facts)