diff --git a/playbooks/manual/staging-sync/templates/koji-reset-staging.sql b/playbooks/manual/staging-sync/templates/koji-reset-staging.sql index 347c2d20a8..fcdae3a4c5 100644 --- a/playbooks/manual/staging-sync/templates/koji-reset-staging.sql +++ b/playbooks/manual/staging-sync/templates/koji-reset-staging.sql @@ -108,7 +108,7 @@ insert into user_perms (user_id, perm_id, active, creator_id) values ( ('koschei', 'koschei/koschei-backend01.stg.phx2.fedoraproject.org'), ('hotness', 'hotness/hotness01.stg.phx2.fedoraproject.org'), ('containerbuild', 'osbs/osbs.stg.fedoraproject.org'), - ('kojira', 'kojira/koji.stg.fedoraproject.org@STG.FEDORAPROJECT.ORG')] %} + ('kojira', 'kojira/koji.stg.fedoraproject.org')] %} update users set krb_principal='{{principal}}@STG.FEDORAPROJECT.ORG' where name='{{username}}'; {% endfor %} update users set krb_principal=replace(krb_principal, '@FEDORAPROJECT.ORG', '@STG.FEDORAPROJECT.ORG');