You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by my...@apache.org on 2020/04/02 13:34:32 UTC

[incubator-dlab] 01/01: [DLAB-1685]: Local billing test

This is an automated email from the ASF dual-hosted git repository.

mykolabodnar pushed a commit to branch DLAB-1685
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit 04d8f93e488864e4a8ee806087d9041bee1802be
Author: bodnarmykola <bo...@gmail.com>
AuthorDate: Thu Apr 2 16:34:11 2020 +0300

    [DLAB-1685]: Local billing test
---
 infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py b/infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py
index f828957..67aa572 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py
@@ -197,6 +197,7 @@ def start_ss(keyfile, host_string, dlab_conf_dir, web_path,
             put('/root/templates/proxy_location_webapp_template.conf', '/tmp/proxy_location_webapp_template.conf')
             sudo('mv /tmp/proxy_location_webapp_template.conf ' + os.environ['ssn_dlab_path'] + 'tmp/')
             if cloud_provider == 'gcp' or 'azure':
+                print('Unknown reason but we are here')
                 conf_parameter_name = '--spring.config.location='
                 with open('/root/templates/supervisor_svc.conf', 'r') as f:
                     text = f.read()
@@ -205,6 +206,7 @@ def start_ss(keyfile, host_string, dlab_conf_dir, web_path,
                 with open('/root/templates/supervisor_svc.conf', 'w') as f:
                     f.write(text)
             elif cloud_provider == 'aws':
+                print('Good known reason we are here')
                 conf_parameter_name = '--spring.config.location={0}billing_app.yml --conf '.format(dlab_conf_dir)
                 with open('/root/templates/supervisor_svc.conf', 'r') as f:
                     text = f.read()


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org