Issue #2565 has been reported by Jayme Cox.
----------------------------------------
Feature #2565: Getting client fqdn with certname and external_nodes
http://projects.reductivelabs.com/issues/2565
Author: Jayme Cox
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Complexity: Easy
Affected version: 0.24.8
Keywords:
In EC2 you often don't know what the IP address will be. To work around this, I
assign a single cert to all the clients and use an external_nodes script to
classify them based on hostname.
However, because I set certname, when I run the external_nodes script, it does
not get passed the full list like normal (when not using certname).
in 24.8 network/handler/master.rb has:
def getconfig(facts, format = "marshal", client = nil, clientip = nil)
facts = decode_facts(facts)
client ||= facts["hostname"]
However, if you use certname then the hostname is set to that value.
If I change the client line to:
client = facts["fqdn"]
Then I can parse the clients FQDN.
Is there any possibility of at least getting the full list (certname, full
breakdown of FQDN) when using external_nodes scripts no matter what?
Thanks!
--
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://reductivelabs.com/redmine/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
-~----------~----~----~----~------~----~------~--~---