FAQ
Hello,

The domain.rb tries to get the domain by calling hostname without any
option. This will mostly leed in only the name without any domain part.
The hostname tool only give the fqdn if called with -f (or --fqdn or
--long).

Additional the output of domainname will only be used if there is one
point inside the domain. That will fail for toplevel domains such as if
the fqdn is example.com.

I think that is a bug in facter but I do not know how to open a bug
report on the website, there is only a way to display open issues.

-- Klaus Ethgen
--
Klaus Ethgen http://www.ethgen.ch/
pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <klaus@ethgen.de>
Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

  • Michael Stahnke at Oct 9, 2012 at 4:58 pm

    On Tue, Oct 9, 2012 at 5:05 AM, Klaus Ethgen wrote:
    Hello,

    The domain.rb tries to get the domain by calling hostname without any
    option. This will mostly leed in only the name without any domain part.
    The hostname tool only give the fqdn if called with -f (or --fqdn or
    --long).

    Additional the output of domainname will only be used if there is one
    point inside the domain. That will fail for toplevel domains such as if
    the fqdn is example.com.

    I think that is a bug in facter but I do not know how to open a bug
    report on the website, there is only a way to display open issues.
    You can open one here: http://projects.puppetlabs.com/projects/facter/issues

    Note that this file has been changed quite a few times. Is it
    possible you're on an older version of facter?

    -- Klaus Ethgen
    --
    Klaus Ethgen http://www.ethgen.ch/
    pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <klaus@ethgen.de>
    Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C

    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To post to this group, send email to puppet-users@googlegroups.com.
    To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To post to this group, send email to puppet-users@googlegroups.com.
    To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
  • Klaus Ethgen at Oct 9, 2012 at 5:08 pm
    Michael Stahnke schrieb:
    [Bug in domain.rb]
    I think that is a bug in facter but I do not know how to open a bug
    report on the website, there is only a way to display open issues.
    You can open one here: http://projects.puppetlabs.com/projects/facter/issues
    I thought so. But there is no way for me to open new reports. I can only
    view and filter existing bugs.
    Note that this file has been changed quite a few times. Is it
    possible you're on an older version of facter?
    I know. But I see this on very many versions. My newest version is
    facter 1.6.10.

    -- Klaus
    --
    Klaus Ethgen http://www.ethgen.ch/
    pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <klaus@ethgen.de>
    Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C

    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To post to this group, send email to puppet-users@googlegroups.com.
    To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
  • Michael Stahnke at Oct 9, 2012 at 8:13 pm

    On Tue, Oct 9, 2012 at 9:46 AM, Klaus Ethgen wrote:
    Michael Stahnke <stahnma@puppetlabs.com> schrieb:
    [Bug in domain.rb]
    I think that is a bug in facter but I do not know how to open a bug
    report on the website, there is only a way to display open issues.
    You can open one here: http://projects.puppetlabs.com/projects/facter/issues
    You should be able to once you sign up.

    I thought so. But there is no way for me to open new reports. I can only
    view and filter existing bugs.
    Note that this file has been changed quite a few times. Is it
    possible you're on an older version of facter?
    I know. But I see this on very many versions. My newest version is
    facter 1.6.10.

    -- Klaus
    --
    Klaus Ethgen http://www.ethgen.ch/
    pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <klaus@ethgen.de>
    Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C

    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To post to this group, send email to puppet-users@googlegroups.com.
    To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To post to this group, send email to puppet-users@googlegroups.com.
    To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppuppet-users @
categoriespuppet
postedOct 9, '12 at 12:08p
activeOct 9, '12 at 8:13p
posts4
users2
websitepuppetlabs.com

2 users in discussion

Klaus Ethgen: 2 posts Michael Stahnke: 2 posts

People

Translate

site design / logo © 2022 Grokbase