[chef-dev] My java web application cookbook


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef-dev] My java web application cookbook
  • Date: Mon, 7 Jul 2014 09:35:38 -0700 (PDT)

Hi all,

I'm creating a java web application cookbook which deploys a my webapp (war).
My war doesn't use a database and so I'm following the "USAGE" at link
(https://github.com/poise/application_java).

I've downloaded the application_java cookbook and I've added my default.rb 
file
in the recipes folder.
I'm using chef-solo. I've resolved all cookbooks dependencies.

When I try to run the chef-solo command I've got this error:


Recipe Compile Error in /var/chef/cookbooks/tomcat/recipes/default.rb
SyntaxError
-----------
compile error
/var/chef/cookbooks/tomcat/recipes/default.rb:30: syntax error, unexpected ')'
/var/chef/cookbooks/tomcat/recipes/default.rb:39: syntax error, unexpected ')'
/var/chef/cookbooks/tomcat/recipes/default.rb:119: syntax error, unexpected
$end, expecting kEND


Cookbook Trace:
---------------
  /var/chef/cookbooks/tomcat/recipes/default.rb:119:in `from_file'

Could you help me?
Thank you
pasqwuy73



Archive powered by MHonArc 2.6.16.

§