Issue #3357 has been updated by Johan Huysmans.

File fqdn.rb.patch added

The fqdn is the host + domain.
If the domain is empty the fqdn is only the host, and thus not "nil".

I added an alternative patch.

When host and domain is available, fqdn = host + "." + domain<br/>
When only the host is available, fqdn = host<br/>
When both host and domain are not set, fqdn = nil
----------------------------------------
Bug #3357: fact fqdn doesn't get set if domain fact isn't set
https://projects.puppetlabs.com/issues/3357

Author: Simon Hürlimann
Status: Needs Decision
Priority: Normal
Assignee: Paul Nasrat
Category: library
Target version: 1.6.x
Keywords: domain, fqdn
Branch: 
Affected Facter version: 


If the domain fact doesn't get a value (see #3356) the fqdn isn't set either. 
But it should probably be just the hostname in this case.

Think may break in very interesting ways when using fqdn in your pupper 
recipes, but it won't be set. See https://bugs.launchpad.net/bugs/534773 as an 
example;-)



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