commit | 74858559652527af1b1261d8e271ef276da93fa7 | [log] [tgz] |
---|---|---|
author | Mateusz Matuszkowiak <mmatuszkowiak@mirantis.com> | Tue Jul 03 13:03:41 2018 +0200 |
committer | Mateusz Matuszkowiak <mmatuszkowiak@mirantis.com> | Tue Jul 03 13:03:41 2018 +0200 |
tree | 5e9b751b5b056d9dffe4a5f0d0255d88b88e715c | |
parent | 6affd12cc0204687fadaaf31e51d6f27ae47203b [diff] |
Source the exported vars before entrypoint exec Change-Id: If40e943fee2ad928d8af64f61201800cc6f308de Related-Bug: PROD-21141
diff --git a/prometheus/files/gainsight/gainsight_crontab.yml b/prometheus/files/gainsight/gainsight_crontab.yml index b387053..89d961e 100644 --- a/prometheus/files/gainsight/gainsight_crontab.yml +++ b/prometheus/files/gainsight/gainsight_crontab.yml
@@ -1,2 +1,2 @@ {% from "prometheus/map.jinja" import gainsight with context %} -{{ gainsight.crontab.duration }} root /opt/gainsight/entrypoint.py >> /var/log/cron.log 2>&1 +{{ gainsight.crontab.duration }} root . /opt/gainsight/vars && /opt/gainsight/entrypoint.py >> /var/log/cron.log 2>&1