From b755f7faaf490c97223f68b3b51b3ea1e08c3547 Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Sat, 29 May 2010 14:18:18 +1000 Subject: Fixed #3912 - Added client certificate name as an internal fact called "clientcert" --- lib/puppet/node/facts.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/puppet/node') diff --git a/lib/puppet/node/facts.rb b/lib/puppet/node/facts.rb index ed7fe1253..490174bbf 100755 --- a/lib/puppet/node/facts.rb +++ b/lib/puppet/node/facts.rb @@ -22,6 +22,7 @@ class Puppet::Node::Facts attr_accessor :name, :values def add_local_facts + values["clientcert"] = Puppet.settings[:certname] values["clientversion"] = Puppet.version.to_s values["environment"] ||= Puppet.settings[:environment] end -- cgit