[chef] Problem setting fqdn on a node


Chronological Thread 
  • From: Jacobo García < >
  • To:
  • Subject: [chef] Problem setting fqdn on a node
  • Date: Thu, 5 Aug 2010 13:49:27 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=prvKbPTStoay4KOdJoeHUr/bjEGScdccsLXWA27Izlp5CqU3RWWVfAoOttIJ/wkEmv rM0N7fdQDZ1RD8NIvO4wfxU9gINurff/s/zBahqBVZtmaVluQq7YbdvJgvDXDdwpTk4H 595BSQoVHW+mtsrVXwoDMaEdju3SctpzOVW3s=

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.

§