summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2008-08-16 02:01:41 +1000
committerJames Turnbull <james@lovedthanlost.net>2008-08-16 02:03:42 +1000
commitfb8cc533ad1da65de0b4769ab3b44112c9ff68c6 (patch)
treea641efb666a83d9d0855f9ce1afa2c23945f2b25
parent18dda20b4167cb24ecd0d8b2029aaabb60b79936 (diff)
downloadpuppet-fb8cc533ad1da65de0b4769ab3b44112c9ff68c6.tar.gz
puppet-fb8cc533ad1da65de0b4769ab3b44112c9ff68c6.tar.xz
puppet-fb8cc533ad1da65de0b4769ab3b44112c9ff68c6.zip
Fixed #1442 - replaced use of Facter for report titling with certname
-rw-r--r--CHANGELOG2
-rw-r--r--lib/puppet/transaction/report.rb8
2 files changed, 3 insertions, 7 deletions
diff --git a/CHANGELOG b/CHANGELOG
index eb22e6ba0..4282f0e51 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -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