From d4d14d047135e0ede2997ebadf96f6b1c74c2519 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Fri, 28 Oct 2016 13:27:00 +0000 Subject: [PATCH] Also add krb_principal on koji stg sync Signed-off-by: Patrick Uiterwijk --- playbooks/manual/staging-sync/templates/koji-reset-staging.sql | 2 +- 1 file changed, 1 insertion(+), 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 a80a709eab..84f8b54502 100644 --- a/playbooks/manual/staging-sync/templates/koji-reset-staging.sql +++ b/playbooks/manual/staging-sync/templates/koji-reset-staging.sql @@ -68,7 +68,7 @@ update repo set state = 3 where state in (0, 1, 2); -- The koji hub is x86_64 and i386 and has createrepo ability {% for host in groups['koji-stg'] %} select now() as time, 'adding staging host {{ host }}' as msg; -insert into users (name, usertype, status) values ('{{ host }}', 1, 0); +insert into users (name, usertype, krb_principal, status) values ('{{ host }}', 1, 'compile/{{ host }}@STG.FEDORAPROJECT.ORG', 0); insert into host (user_id, name, arches) values ( (select id from users where name='{{host}}'), '{{host}}', 'i386 x86_64'); {% for channel in [ 'default', 'createrepo', 'maven', 'appliance', 'livemedia', 'vm', 'secure-boot', 'compose', 'eclipse', 'images', 'image'] %}