You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2017/04/19 15:57:34 UTC
airavata git commit: Allow user_data_dir to be symlink
Repository: airavata
Updated Branches:
refs/heads/master dd5e9c1c3 -> 82e39d8f9
Allow user_data_dir to be symlink
Using symlink to keep gateway data store paths the same as they were on
gw75 for SciGaP production deploys. This is kind of a quick fix hack,
ideally I think we would update the replica catalog entries.
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/82e39d8f
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/82e39d8f
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/82e39d8f
Branch: refs/heads/master
Commit: 82e39d8f954fea56f2fe2f7a987959f2cadc21be
Parents: dd5e9c1
Author: Marcus Christie <ma...@apache.org>
Authored: Wed Apr 19 11:53:02 2017 -0400
Committer: Marcus Christie <ma...@apache.org>
Committed: Wed Apr 19 11:53:02 2017 -0400
----------------------------------------------------------------------
.../ansible/inventories/scigap/production/group_vars/all/vars.yml | 2 +-
dev-tools/ansible/roles/pga/tasks/main.yml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata/blob/82e39d8f/dev-tools/ansible/inventories/scigap/production/group_vars/all/vars.yml
----------------------------------------------------------------------
diff --git a/dev-tools/ansible/inventories/scigap/production/group_vars/all/vars.yml b/dev-tools/ansible/inventories/scigap/production/group_vars/all/vars.yml
index 8069ff5..3984024 100644
--- a/dev-tools/ansible/inventories/scigap/production/group_vars/all/vars.yml
+++ b/dev-tools/ansible/inventories/scigap/production/group_vars/all/vars.yml
@@ -110,7 +110,7 @@ monitor_email_password: "{{ vault_monitor_email_password }}"
# PGA variables
pga_repo: "https://github.com/apache/airavata-php-gateway.git"
-user_data_dir: "/data/gateway-user-data"
+user_data_dir: "/var/www/portals/gateway-user-data"
## Airavata Client related variables
#airavata_server: "tls://gw77.iu.xsede.org"
airavata_server: "tls://{{ groups['api-orch'][0] }}"
http://git-wip-us.apache.org/repos/asf/airavata/blob/82e39d8f/dev-tools/ansible/roles/pga/tasks/main.yml
----------------------------------------------------------------------
diff --git a/dev-tools/ansible/roles/pga/tasks/main.yml b/dev-tools/ansible/roles/pga/tasks/main.yml
index cb3bb7b..76461df 100644
--- a/dev-tools/ansible/roles/pga/tasks/main.yml
+++ b/dev-tools/ansible/roles/pga/tasks/main.yml
@@ -35,7 +35,7 @@
become: yes
- name: Create user data dir {{ user_data_dir }}
- file: path="{{ user_data_dir }}" state=directory owner="{{user}}" group="{{group}}" mode=0777 recurse=yes
+ file: path="{{ user_data_dir }}" state=directory owner="{{user}}" group="{{group}}" mode=0777 recurse=yes follow=yes
become: yes
# SELinux configuration