Have a look at the `application_java` cookbook https://github.com/opscode-cookbooks/application_java. Would take a look at it's base cookbook as well https://github.com/opscode-cookbooks/application. `application` was extremely helpful for me wrapping my head around lwrp's.
-LOn Monday, October 28, 2013 at 6:17 AM, Alexandre Russel wrote:
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::JavaWrapperis there anything else I need to do ?
Alex
Archive powered by MHonArc 2.6.16.