[chef] Re: Re: Re: Chef-solo - undefined node?


Chronological Thread 
  • From: AJ Christensen < >
  • To: chef < >
  • Subject: [chef] Re: Re: Re: Chef-solo - undefined node?
  • Date: Mon, 29 Apr 2013 17:15:02 +1200

Does your node have a hostname?

(i.e. does $(ohai hostname) yield what you'd expect)

Check /etc/hosts, /etc/hostname, /etc/resolv.conf and anything else
you've configured for libnss.

cheers,

aj

On 29 April 2013 16:56, Mark J Bradakis 
< >
 wrote:
> Peter Norton wrote:
>>
>>
>> Are you trying to work with node (vs. chef::node)?
>>
>>
>
> I'm not sure, being new to this.  An example line that triggers the error is
> like this
> one from cookbooks/rabbitmq/attributes/default.rb:
>
>   default[:rabbitmq][:nodename]  = node[:hostname]
>
>
> mjb the confused.
>
>



Archive powered by MHonArc 2.6.16.

§