[chef] Re: Problem setting fqdn on a node


Chronological Thread 
  • From: "Leinartas, Michael" < >
  • To: " " < >
  • Subject: [chef] Re: Problem setting fqdn on a node
  • Date: Thu, 5 Aug 2010 12:10:33 -0500
  • Accept-language: en-US
  • Acceptlanguage: en-US

Title: Re: [chef] Problem setting fqdn on a node
How do you get your IP and domain?  Are the machines assigned via dhcp? Do the ip addresses have reverse entries with the proper fqdn?

On 8/5/10 6:49 AM, "Jacobo García" < "> > wrote:

Hi chefs,

I'm having lots of problems when setting fqdn on ubuntu 10.04 nodes so chef gets the fqdn right. 

If I run 'hostname fqdn' hostname returns fqdn but hostname -f does not, and the node gets registered with just the machine name.

The only way I found to make chef get the fqdn is adding an entry to /etc/hosts with the ip address and the fqdn on the machine. I haven't had this problem on ubuntu 8.04 nodes. 

I'd like to find another way to make this work than editing /etc/hosts before chef register nodes. 

Has anyone had this problems? 

Greetings.

Jacobo García López de Araujo
blog: http://robotplaysguitar.com
http://workingwithrails.com/person/13395-jacobo-garc-a





Archive powered by MHonArc 2.6.16.

§