diff options
author | James Turnbull <james@lovedthanlost.net> | 2008-08-16 02:01:41 +1000 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2008-08-16 02:03:42 +1000 |
commit | fb8cc533ad1da65de0b4769ab3b44112c9ff68c6 (patch) | |
tree | a641efb666a83d9d0855f9ce1afa2c23945f2b25 /lib | |
parent | 18dda20b4167cb24ecd0d8b2029aaabb60b79936 (diff) | |
download | puppet-fb8cc533ad1da65de0b4769ab3b44112c9ff68c6.tar.gz puppet-fb8cc533ad1da65de0b4769ab3b44112c9ff68c6.tar.xz puppet-fb8cc533ad1da65de0b4769ab3b44112c9ff68c6.zip |
Fixed #1442 - replaced use of Facter for report titling with certname
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/transaction/report.rb | 8 |
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 |