Remove gss

This commit is contained in:
Micke Nordin 2024-12-12 14:58:23 +01:00
parent d648c987c7
commit 7f39e96bf9
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257
2 changed files with 4 additions and 7 deletions

View file

@ -67,12 +67,10 @@ def main() -> int:
reboot_command = ['sudo /usr/local/bin/safer_reboot']
if customers[0] == "common":
customers = ["gss", "lookup", "multinode"]
customers = ["lookup", "multinode"]
for customer in customers:
backup_type = "backup"
if customer == "gss":
backup_type = "gssbackup"
elif customer == "lookup":
if customer == "lookup":
backup_type = "lookupbackup"
elif customer == "multinode":
backup_command = ['sudo /home/script/bin/backup_multinode_db.sh']

View file

@ -89,9 +89,8 @@ def main() -> int:
server_type = "node"
backup_type = "backup"
if customer == "common":
customer = "gss"
server_type = "gss"
backup_type = "gssbackup"
print("GSS no longer exists, bailing out.")
sys.exit(0)
backup = build_fqdn(customer, environment, 1, backup_type)
print("\tRunning backup command at {}".format(backup))