From 8ee3e4149df31dc11f09b8ddaa343e06b85c36c1 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 9 Jun 2020 07:59:30 -0700 Subject: [PATCH] iad2-move: set koji lockout Signed-off-by: Kevin Fenzi --- roles/koji_hub/templates/hub.conf.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/koji_hub/templates/hub.conf.j2 b/roles/koji_hub/templates/hub.conf.j2 index 88da39493f..8102381837 100644 --- a/roles/koji_hub/templates/hub.conf.j2 +++ b/roles/koji_hub/templates/hub.conf.j2 @@ -69,7 +69,8 @@ DisableNotifications = True ## These options are intended for planned outages #ServerOffline = True #OfflineMessage = Offline -# LockOut = False +LockOut = True +OfflineMessage = 'koji is being migrated to a new datacenter' ## If ServerOffline is True, the server will always report a ServerOffline fault (with ## OfflineMessage as the fault string). ## If LockOut is True, the server will report a ServerOffline fault for all non-admin