Issue #10167 has been updated by Alexandre Fouche.

Status changed from Unreviewed to Closed


----------------------------------------
Feature #10167: Add Puppet certname retrieval to Facter
https://projects.puppetlabs.com/issues/10167

Author: Alexandre Fouche
Status: Closed
Priority: Normal
Assignee: 
Category: 
Target version: 
Keywords: facter certname cloud provisioner
Branch: 
Affected Facter version: 1.6.2


# Context

I am using the cloud provisioner to bootstrap some ec2 nodes, and these clients 
are signed using a randomly generated certname, which is put in 
/etc/puppet.conf at the bootstrap time (eg certname = 
d7bcd693-73fd-495f-0876-ff91ea11111e).

But my puppet code repo also manages the puppet.conf file, so the file will be 
overwritten on the client at the first puppet run. Nevertheless, i should not 
lose what was the original certname for this client, because i need to insert 
it in the puppet.conf.erb that will be pushed to this client, otherwise the 
puppetmaster will not recognize and allow this client anymore.

i also queried the mailing list at 
[http://groups.google.com/group/puppet-users/browse_thread/thread/81bf8df1f8ad723f](http://groups.google.com/group/puppet-users/browse_thread/thread/81bf8df1f8ad723f)


# Feature request

Can Facter return the certname used by the puppet client, so that it can be 
used in erb templates ?



-- 
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.

Reply via email to