summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/configurer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/configurer.rb b/lib/puppet/configurer.rb
index b74456de4..d9f207143 100644
--- a/lib/puppet/configurer.rb
+++ b/lib/puppet/configurer.rb
@@ -79,7 +79,7 @@ class Puppet::Configurer
# Get the remote catalog, yo. Returns nil if no catalog can be found.
def retrieve_catalog
- name = Facter.value("hostname")
+ name = Puppet[:certname]
catalog_class = Puppet::Resource::Catalog
# This is a bit complicated. We need the serialized and escaped facts,