From 7f0c8479cca034fd82821e5764fb2d06924aa705 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Thu, 23 Mar 2017 15:12:31 +0000 Subject: [PATCH] Fix containerbuild on koji stg sync Signed-off-by: Patrick Uiterwijk --- playbooks/manual/staging-sync/templates/koji-reset-staging.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playbooks/manual/staging-sync/templates/koji-reset-staging.sql b/playbooks/manual/staging-sync/templates/koji-reset-staging.sql index 9798f3e3e0..aa0cea6cb1 100644 --- a/playbooks/manual/staging-sync/templates/koji-reset-staging.sql +++ b/playbooks/manual/staging-sync/templates/koji-reset-staging.sql @@ -153,7 +153,8 @@ insert into user_perms (user_id, perm_id, active, creator_id) values ( -- Fix krb principals for some users {% for username, principal in [('releng', 'compose/koji.stg.fedoraproject.org'), ('koschei', 'koschei/koschei-backend01.stg.phx2.fedoraproject.org'), - ('hotness', 'hotness/hotness01.stg.phx2.fedoraproject.org')] %} + ('hotness', 'hotness/hotness01.stg.phx2.fedoraproject.org'), + ('containerbuild', 'osbs/osbs.stg.fedoraproject.org@STG.FEDORAPROJECT.ORG')] %} update users set krb_principal='{{principal}}@STG.FEDORAPROJECT.ORG' where username='{{username}}'; {% endfir %}