On 19.06.2013 10:24, Rafał Radecki wrote:
My hostname is server.one.two.com:

# hostname
server.one.two.com
# hostname --fqdn
one.two.com

This is wrong. "hostname" should return either "server" or "server.one.two.com" and "hostname --fqdn" should return "server.one.two.com" (the Fully Qualified Domain Name).

But in facter:

# facter | egrep 'hostname|domain|fqdn'
domain => two.com
fqdn => server.two.com
hostname => server

Has anyone got a similar problem? What can be done to solve it?

Facter is confused by your inconsistent setup. Fix that and facter will work too.


Regards, David

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to