[chef] Can not acess node name on the recipe


Chronological Thread 
  • From: Alfredo Palhares < >
  • To: Chef < >
  • Subject: [chef] Can not acess node name on the recipe
  • Date: Fri, 16 Nov 2012 15:20:28 +0100

Hello Chefs,

I can't acess node["name"] inside a recipe the output is nil
Altough node.to_hash()["name"] gives me the correct attribute.

other attributes like node["ipaddress"] work correctly

I am using chef 10.16.2 both server and client.

--
Regards,
Alfredo Palhares



Archive powered by MHonArc 2.6.16.

§