Skip to content

Commit

Permalink
fix: flex-linux-setup more verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar committed Feb 22, 2022
1 parent 4c1fa73 commit 44abfb2
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions flex-linux-setup/flex_linux_setup/flex_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,9 @@ def install_casa(self):

self.check_clients([('casa_client_id', '3000.')])

print(Config.casa_client_id)
print(Config.casa_client_encoded_pw)
print(Config.casa_client_pw)
print("Casa client id", Config.casa_client_id)
print("Casa client password", Config.casa_client_pw)
print("Casa client encoded password", Config.casa_client_encoded_pw)

print("Importing LDIF Files")

Expand Down Expand Up @@ -303,6 +303,7 @@ def install_casa(self):

https_jans_list.insert(n+1, '\n' + apache_directive_text + '\n')
self.writeFile(httpd_installer.https_jans_fn, '\n'.join(https_jans_list))
print("Restarting Apache")
httpd_installer.restart()

self.enable()
Expand All @@ -326,8 +327,10 @@ def main():

if argsp.casa_integration:
installer_obj.install_casa()
config_api_installer.start('casa')
print("Restarting Jans Auth")
config_api_installer.restart('jans-auth')
print("Starting Casa")
config_api_installer.start('casa')

print("Restarting Janssen Config Api")
config_api_installer.restart()
Expand Down

0 comments on commit 44abfb2

Please sign in to comment.