[chef] Chef FATAL: ArgumentError: You must have a string like resource_type[name]!


Chronological Thread 
  • From: Manoj Thakkar < >
  • To: " " < >
  • Subject: [chef] Chef FATAL: ArgumentError: You must have a string like resource_type[name]!
  • Date: Thu, 31 Oct 2013 13:02:20 -0700

Hi,

I am facing this weird issue in one of the recipes i know why the issue comes in , i dont know how to fix it

this is what i have

node[acc_deploy]=acc1,acc2

and thenĀ 

node['acc_deploy'].each do |base_name|
....
....
...

notifies :run, "bash[inst_tcat_#{base_name}]", :immediately
end


looks like the notifies did not like base_name the way i am using it, please advise how to fix this.

Thanks
Manoj





Archive powered by MHonArc 2.6.16.

§