From 9c36221e118aab657036c4cafb336f39d7d4bd36 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 12 May 2017 19:28:09 +0200 Subject: [PATCH] library/roles/smartgears/dataminer_app: Install the catalina configuration to extend the classpath. --- smartgears/dataminer_app/tasks/dataminer-app.yml | 5 +++++ smartgears/dataminer_app/templates/wps.xml.j2 | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 smartgears/dataminer_app/templates/wps.xml.j2 diff --git a/smartgears/dataminer_app/tasks/dataminer-app.yml b/smartgears/dataminer_app/tasks/dataminer-app.yml index c65529b5..814dc781 100644 --- a/smartgears/dataminer_app/tasks/dataminer-app.yml +++ b/smartgears/dataminer_app/tasks/dataminer-app.yml @@ -31,6 +31,11 @@ template: src=wps-config-fixer.j2 dest=/usr/local/bin/wps-config-fixer owner=root group=root mode=0555 with_items: '{{ tomcat_m_instances }}' + - name: Install the catalina additional configuration + template: src={{ dataminer_wps_name }}.xml.j2 dest={{ item.instance_path }}/conf/Catalina/localhost/{{ dataminer_wps_name }}.xml + with_items: '{{ tomcat_m_instances }}' + notify: Restart smartgears + - name: Fix the WPS config file shell: /usr/local/bin/wps-config-fixer # notify: Restart smartgears diff --git a/smartgears/dataminer_app/templates/wps.xml.j2 b/smartgears/dataminer_app/templates/wps.xml.j2 new file mode 100644 index 00000000..65752a76 --- /dev/null +++ b/smartgears/dataminer_app/templates/wps.xml.j2 @@ -0,0 +1,6 @@ + + + + +