diff options
author | James Turnbull <james@lovedthanlost.net> | 2010-05-29 14:18:18 +1000 |
---|---|---|
committer | test branch <puppet-dev@googlegroups.com> | 2010-02-17 06:50:53 -0800 |
commit | b755f7faaf490c97223f68b3b51b3ea1e08c3547 (patch) | |
tree | 502e7e885a1c5fc32ef5185174f2c2380ad3dd1f /lib/puppet | |
parent | b5f14c6eeaaf8cc70287f3b1b2f74441157ac4b6 (diff) | |
download | puppet-b755f7faaf490c97223f68b3b51b3ea1e08c3547.tar.gz puppet-b755f7faaf490c97223f68b3b51b3ea1e08c3547.tar.xz puppet-b755f7faaf490c97223f68b3b51b3ea1e08c3547.zip |
Fixed #3912 - Added client certificate name as an internal fact called "clientcert"
Diffstat (limited to 'lib/puppet')
-rwxr-xr-x | lib/puppet/node/facts.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |