Jira (FACT-179) fqdn Fact returns nil when hostname or domain are nil
Title: Message Title Charlie Sharpsteen assigned an issue to Charlie Sharpsteen Facter / FACT-179 fqdn Fact returns nil when hostname or domain are nil Change By: Charlie Sharpsteen Assignee: CharlieSharpsteen Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-179) fqdn Fact returns nil when hostname or domain are nil
Title: Message Title Josh Cooper commented on an issue Re: fqdn Fact returns nil when hostname or domain are nil Merged into facter-2 in e0aeebd to be released in 2.1. Also see note in https://github.com/puppetlabs/facter/pull/687#discussion_r13664762 Add Comment Facter / FACT-179 fqdn Fact returns nil when hostname or domain are nil In the case where domain is nil the fqdn is then nil. This causes a number of modules that use fqdn to break. When fqdn is nil I also cannot run puppet agent -t as I get the following error {noformat} Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Must provide non empty value. on node master Warning: Not using cache ... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-179) fqdn Fact returns nil when hostname or domain are nil
Title: Message Title Josh Cooper updated an issue Facter / FACT-179 fqdn Fact returns nil when hostname or domain are nil Change By: Josh Cooper Fix Version/s: 2.1 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-179) fqdn Fact returns nil when hostname or domain are nil
Title: Message Title Josh Cooper updated an issue Facter / FACT-179 fqdn Fact returns nil when hostname or domain are nil Change By: Josh Cooper Sprint: Week2014-6-11to2014-6-18 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-179) fqdn Fact returns nil when hostname or domain are nil
Title: Message Title Josh Cooper updated an issue Facter / FACT-179 fqdn Fact returns nil when hostname or domain are nil Change By: Josh Cooper Component/s: Community Story Points: 1 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-179) fqdn Fact returns nil when hostname or domain are nil
Title: Message Title Nick Walker updated an issue Facter / FACT-179 fqdn Fact returns nil when hostname or domain are nil Change By: Nick Walker Reporter: redmine.exporter NickWalker Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (FACT-179) fqdn Fact returns nil when hostname or domain are nil
Title: Message Title redmine.exporter created an issue Facter / FACT-179 fqdn Fact returns nil when hostname or domain are nil Issue Type: Bug Assignee: Eric Sorenson Created: 23/Dec/13 3:49 PM Labels: redmine Priority: Normal Reporter: redmine.exporter In the case where domain is nil the fqdn is then nil. This causes a number of modules that use fqdn to break. When fqdn is nil I also cannot run puppet agent -t as I get the following error Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Must provide non empty value. on node master Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run I see that the domain fact attempts to use the results of hostname -f if it works on that OS. I wonder why fqdn doesn't use hostname -f as well. Add Comment
Jira (FACT-179) fqdn Fact returns nil when hostname or domain are nil
Title: Message Title Nick Walker updated an issue Facter / FACT-179 fqdn Fact returns nil when hostname or domain are nil Change By: Nick Walker Labels: redmine support Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (FACT-179) fqdn Fact returns nil when hostname or domain are nil
Title: Message Title Nick Walker updated an issue Facter / FACT-179 fqdn Fact returns nil when hostname or domain are nil Change By: Nick Walker Inthecasewheredomainisnilthefqdnisthennil.Thiscausesanumberofmodulesthatusefqdntobreak.WhenfqdnisnilIalsocannotrunpuppetagent-tasIgetthefollowingerror {noformat} Error:Couldnotretrievecatalogfromremoteserver:Error400onSERVER:Mustprovidenonemptyvalue.onnodemasterWarning:NotusingcacheonfailedcatalogError:Couldnotretrievecatalog;skippingrun {noformat} Iseethatthedomainfactattemptstousetheresultsofhostname-fifitworksonthatOS.Iwonderwhyfqdndoesn'tusehostname-faswell. Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (FACT-179) fqdn Fact returns nil when hostname or domain are nil
Title: Message Title Eric Shamow commented on an issue Re: fqdn Fact returns nil when hostname or domain are nil To the point in the original Redmine ticket about determining correct behavior: This is the fact's current code - {{Facter.add(:fqdn) do setcode do host = Facter.value(:hostname) domain = Facter.value(:domain) if host and domain [host, domain].join(.) else nil end end end}} That's not how name resolution works on most systems. Facter should reflect the principle of least surprise - it should return what the system believes fqdn to be. On *nix boxes, for the most part, hostname -f will return shortname in the absence of a domain. But this should be implemented as something that's closer to what the actual systems do. There are very few systems on which full name will return nil when asked for fully-qualified name. Add Comment Facter / FACT-179 fqdn Fact returns nil when hostname or domain are nil In the case where domain is nil the fqdn is then nil. This causes a number of modules that use fqdn to break. When fqdn is nil I also cannot run puppet agent -t as I get the following error {noformat} Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Must provide non empty value. on node master Warning: Not using cache ... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)