- From: Daniel DeLeo <
>
- To:
- Cc:
- Subject: [chef-dev] Re: My java web application cookbook
- Date: Mon, 7 Jul 2014 11:36:10 -0700
You have a ruby syntax error in your recipe code. You can run `ruby -c
FILENAME` to check the syntax.
--
Daniel DeLeo
On Monday, July 7, 2014 at 9:35 AM,
wrote:
>
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.