sous-chefs / confluence

Development repository for the confluence cookbook
https://supermarket.chef.io/cookbooks/confluence
Other
43 stars 46 forks source link

Incorrectly setting JAVA_OPTS variable in setenv.sh #123

Closed nickpetrovic closed 8 years ago

nickpetrovic commented 8 years ago

When you set the java_opts attribute, the template adds additional jvm options. When you start the server, it fails because the setenv.sh file is incorrectly formatted.

setenv.sh: line 55: unexpected EOF while looking for matching"'`

When you look at the setenv.sh.erb template, you can see that it's missing the " character at the end.

<% if node['confluence']['jvm']['java_opts'] != '' -%>
JAVA_OPTS="<%= node['confluence']['jvm']['java_opts']%>
export JAVA_OPTS
<% end -%>

https://github.com/parallels-cookbooks/confluence/blob/master/templates/default/setenv.sh.erb#L53

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.