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 => []
(https://github.com/arussel/chef-java-wrapper/blob/master/resources/default.rb)
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
Have a look at the application_java
cookbook GitHub - poise/application_java: Development repository for Opscode Cookbook application_java. Would take a look at it's base cookbook as well GitHub - poise/application: A Chef cookbook to deploy applications.. application
was extremely helpful for me wrapping my head around lwrp's.
-L
On 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 =>
(chef-java-wrapper/resources/default.rb at master · arussel/chef-java-wrapper · GitHub)
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
On Mon, Oct 28, 2013 at 2:35 PM, Lucas Hrabovsky <
lucas.hrabovsky@schrodinger.com> wrote:
Have a look at the application_java
cookbook
GitHub - poise/application_java: Development repository for Opscode Cookbook application_java. Would take a look
at it's base cookbook as well
GitHub - poise/application: A Chef cookbook to deploy applications.. application
was
extremely helpful for me wrapping my head around lwrp's.
thanks for the link, looking at it, I still don't see where I got it wrong
-L
On 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 =>
(chef-java-wrapper/resources/default.rb at master · arussel/chef-java-wrapper · GitHub)
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 ?
This actually run ok if I use it in a single recipe, but if I use it in
multiple recipe, I have this error.
Alex