summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-06-18 15:32:45 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-06-18 15:32:45 +0000
commit2b1d47869170690ad4e3cf1473f9fa19db48101e (patch)
treeab20cb78da828d43ef2a4a163d39ac9619124e29 /lib
parentafc35631bc3faab0a7a18e36fce438b320a75226 (diff)
downloadpuppet-2b1d47869170690ad4e3cf1473f9fa19db48101e.tar.gz
puppet-2b1d47869170690ad4e3cf1473f9fa19db48101e.tar.xz
puppet-2b1d47869170690ad4e3cf1473f9fa19db48101e.zip
Adding puppet-test, which is useful for performance testing
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2601 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib')
-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)