From bcadddef74dabc640497b8da24c9df4aacc120f9 Mon Sep 17 00:00:00 2001 From: Roberto Date: Thu, 14 Sep 2017 15:20:32 +0200 Subject: [PATCH] group_vars/dm_pool_manager* group_vars/catalogue_ws_prod added variable for production environment inventory/hosts.pre add new tabulardata node inventory/hosts.production added new nodes --- smartgears/dm_pool_manager/defaults/main.yml | 2 ++ smartgears/dm_pool_manager/templates/web.xml.j2 | 3 +++ 2 files changed, 5 insertions(+) diff --git a/smartgears/dm_pool_manager/defaults/main.yml b/smartgears/dm_pool_manager/defaults/main.yml index 3b50c268..e52445ae 100644 --- a/smartgears/dm_pool_manager/defaults/main.yml +++ b/smartgears/dm_pool_manager/defaults/main.yml @@ -17,5 +17,7 @@ dm_pool_manager_pkgs: dm_pool_svn_url: https://svn.d4science.research-infrastructures.eu:443/gcube/trunk/data-analysis svn_user: svn.d4science svn_pass: "{{ vault_svn_pass }}" +prod_instance: False +proto_instance: False diff --git a/smartgears/dm_pool_manager/templates/web.xml.j2 b/smartgears/dm_pool_manager/templates/web.xml.j2 index 5466f401..8e653329 100644 --- a/smartgears/dm_pool_manager/templates/web.xml.j2 +++ b/smartgears/dm_pool_manager/templates/web.xml.j2 @@ -7,6 +7,9 @@ Environment +{% if proto_instance %} + Proto +{% endif %} {% if prod_instance %} Prod {% else %}