diff options
-rw-r--r-- | CHANGELOG | 2 | ||||
-rw-r--r-- | lib/puppet/transaction/report.rb | 8 |
2 files changed, 3 insertions, 7 deletions
@@ -1,4 +1,6 @@ 0.24.x + Fixed #1442 - replaced use of Facter for report titling with certname + Fixed $1456 - add proxy configuration capability to yum repo Fixed #1457 - removed confine warning 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 |