summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/transaction/report.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/puppet/transaction/report.rb b/lib/puppet/transaction/report.rb
index bd62ebbe6..89da7ed9c 100644
--- a/lib/puppet/transaction/report.rb
+++ b/lib/puppet/transaction/report.rb
@@ -25,13 +25,7 @@ class Puppet::Transaction::Report
hash[key] = []
end
- domain = Facter.value("domain")
- hostname = Facter.value("hostname")
- if !domain || domain.empty? then
- @host = hostname
- else
- @host = [hostname, domain].join(".")
- end
+ @host = Puppet[:certname]
end
def name