diff --git a/lib/manageiq/appliance_console/cli.rb b/lib/manageiq/appliance_console/cli.rb index 3bbc391c..4d135ac4 100644 --- a/lib/manageiq/appliance_console/cli.rb +++ b/lib/manageiq/appliance_console/cli.rb @@ -273,12 +273,12 @@ def run saml_unconfig if saml_unconfig? oidc_config if oidc_config? oidc_unconfig if oidc_unconfig? - set_server_state if set_server_state? openscap if openscap? message_server_config if message_server_config? message_server_unconfig if message_server_unconfig? message_client_config if message_client_config? message_client_unconfig if message_client_unconfig? + set_server_state if set_server_state? rescue CliError => e say(e.message) say("") @@ -322,9 +322,6 @@ def set_internal_db # start pg, create user, create db update the rails configuration, # verify, set up the database with region. activate does it all! raise CliError, "Failed to configure internal database" unless config.activate - - # enable/start related services - config.post_activation rescue RuntimeError => e raise CliError, "Failed to configure internal database #{e.message}" end @@ -343,9 +340,6 @@ def set_external_db # call create_or_join_region (depends on region value) raise CliError, "Failed to configure external database" unless config.activate - - # enable/start related services - config.post_activation end def set_replication