From a12936868436285ffc00107d4acdfbd0a5acdfe3 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 23 Mar 2017 17:33:43 +0100 Subject: [PATCH] library/roles/smartgears/smartgears/templates/tomcat-instance-default.j2: we can now add more environment variables to the file. --- smartgears/smartgears/templates/tomcat-instance-default.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/smartgears/smartgears/templates/tomcat-instance-default.j2 b/smartgears/smartgears/templates/tomcat-instance-default.j2 index b8da26b4..a8fec22b 100644 --- a/smartgears/smartgears/templates/tomcat-instance-default.j2 +++ b/smartgears/smartgears/templates/tomcat-instance-default.j2 @@ -1,2 +1,7 @@ export GHN_HOME={{ smartgears_user_home }}/SmartGears export WEB_CONTAINER_HOME={{ smartgears_instance_path }} +{% if tomcat_additional_defaults is defined %} +{% for setting in tomcat_additional_defaults %} +{{ setting }} +{% endfor %} +{% endif %}