[chef] no method error for resource


Chronological Thread 
  • From: Alexandre Russel < >
  • To:
  • Subject: [chef] no method error for resource
  • Date: Mon, 28 Oct 2013 11:17:27 +0100

Hi all, 

 I'm trying to write a java_wrapper lwrp, I've defined a resource, in resources/default.rb with this line:
attribute :app_parameters, :kind_of => Array, :default => []
but when I try to use the lwrp, I'm getting this error:
undefined method `app_parameters' for Chef::Resource::JavaWrapper

is there anything else I need to do ?

Alex



Archive powered by MHonArc 2.6.16.

§