Issue #16467 has been updated by Garrett Honeycutt.
>From a conversation started on GitHub. <pre> jeffmccune commented an hour ago @ghoneycutt Andy and I just chatted and he convinced me stdlib also isn't the right place. I didn't realize Puppet is already setting to "magic" facts that never show up in the output of facter or facter --puppet. They are clientcert and clientversion. 1 Andy and I don't think these "magic" facts are good because they are difficult to discover. facter --puppet is no longer authoritative over the list of facts that are actually available to the manifests. The approach we'd like you to take is to submit these facts as true Facter facts, but against Puppet. So, a new file inside the Puppet repository in lib/facter/.... This way, with puppet installed the facts it provides will no longer be magic, they'll be normal and show up in the output of facter. </pre> [1] <https://github.com/puppetlabs/puppet/blob/master/lib/puppet/node/facts.rb#L28-31> ---------------------------------------- Feature #16467: there should be a fact that returns the certname https://projects.puppetlabs.com/issues/16467#change-71662 Author: Garrett Honeycutt Status: Needs More Information Priority: Normal Assignee: Category: Target version: Keywords: Branch: Affected Facter version: Since we distinguish between certname and fqdn, we should have a fact for certname. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
