From c89bca2e79c62a8996be44427a31f9081aeb4c4e Mon Sep 17 00:00:00 2001 From: Ted Hess Date: Thu, 30 Jun 2016 16:06:38 -0400 Subject: [PATCH] Enable graceful slave shutdown option in WebUI for authorized user Signed-off-by: Ted Hess --- phase1/master.cfg | 2 +- phase2/master.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phase1/master.cfg b/phase1/master.cfg index 744ae55..5e51466 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -498,7 +498,7 @@ if ini.has_option("status", "bind"): # change any of these to True to enable; see the manual for more # options auth=auth.BasicAuth([(ini.get("status", "user"), ini.get("status", "password"))]), - gracefulShutdown = False, + gracefulShutdown = 'auth', forceBuild = 'auth', # use this to test your slave once it is set up forceAllBuilds = 'auth', pingBuilder = False, diff --git a/phase2/master.cfg b/phase2/master.cfg index 2bb2dd8..4154c1d 100644 --- a/phase2/master.cfg +++ b/phase2/master.cfg @@ -300,7 +300,7 @@ if ini.has_option("status", "bind"): # change any of these to True to enable; see the manual for more # options auth=auth.BasicAuth([(ini.get("status", "user"), ini.get("status", "password"))]), - gracefulShutdown = False, + gracefulShutdown = 'auth', forceBuild = 'auth', # use this to test your slave once it is set up forceAllBuilds = 'auth', pingBuilder = False, -- 2.30.2