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.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/puppet/network/client/master.rb b/lib/puppet/network/client/master.rb
index e0a51513c..0420a461f 100644
--- a/lib/puppet/network/client/master.rb
+++ b/lib/puppet/network/client/master.rb
@@ -370,7 +370,6 @@ class Puppet::Network::Client::Master < Puppet::Network::Client
# Retrieve facts from the central server.
def self.getfacts
-
# Download the new facts
path = Puppet[:factpath].split(":")
files = []
@@ -436,21 +435,6 @@ class Puppet::Network::Client::Master < Puppet::Network::Client
Puppet.warning "Could not load #{type} %s: %s" % [fqfile, detail]
end
end
- ensure
- # For some reason, the libdir doesn't end up in the load path
- # reliably, so we might need to add it here to make sure those shiny
- # new facts get picked up by My Friend Facter.
- $:.unshift(Puppet[:libdir]) unless $:.include?(Puppet[:libdir])
- # Reload everything.
- Facter.clear
- if Facter.respond_to? :loadfacts
- Facter.loadfacts
- elsif Facter.respond_to? :load
- Facter.load
- else
- raise Puppet::Error,
- "You must upgrade your version of Facter to use centralized facts"
- end
end
def self.loadfacts