The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
Handle failure case where FQDN is undefined in defaults.rb better
|Affected Puppet version:||2.6.4||Branch:|
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com
At the moment Puppet uses the ‘hostname’ and ‘domainname’ facts to derive an FQDN, and uses that in turn to seed the certname values.
However, in the event that those values don’t return sensible things the fqdn value in defaults.rb wound up as nil – and this ended up causing a failure way down the chain in the validation of the certname field. It would be much, much better to detect this at the time we derive the invalid FQDN and report it along with a sensible error at that stage.