add sigul

This commit is contained in:
nazunalika 2021-01-02 15:53:05 -07:00
parent 4041a427e6
commit b3d442ca9f
2 changed files with 10 additions and 0 deletions

View File

@ -12,6 +12,7 @@ koji_hub_packages:
- nfs-utils - nfs-utils
- mod_ssl - mod_ssl
- mod_auth_gssapi - mod_auth_gssapi
- sigul
koji_default_directories: koji_default_directories:
- packages - packages
@ -60,6 +61,12 @@ koji_mbs_keytab: /etc/keytabs/mbs.keytab
koji_gc_keytab: /etc/keytabs/koji-gc.keytab koji_gc_keytab: /etc/keytabs/koji-gc.keytab
koji_gc_principal: koji-gc/koji.rockylinux.org@ROCKYLINUX.ORG koji_gc_principal: koji-gc/koji.rockylinux.org@ROCKYLINUX.ORG
# Sigul
koji_sigul: true
koji_sigul_user: sigul
koji_sigul_user_kerb: sigual/sigul.rockylinux.org
koji_sigul_principal: sigual/sigul.rockylinux.org@ROCKYLINUX.ORG
# Storage # Storage
koji_nfs: true koji_nfs: true
koji_mount: /mnt/koji koji_mount: /mnt/koji

View File

@ -7,3 +7,6 @@ INSERT INTO user_perms (user_id, perm_id, creator_id) VALUES (2, 10, 1);
with user_id as (insert into users (name, status, usertype) values ('{{ koji_mbs_user }}', 0, 0) returning id) with user_id as (insert into users (name, status, usertype) values ('{{ koji_mbs_user }}', 0, 0) returning id)
insert into user_krb_principals (user_id, krb_principal) values ((select id from user_id),'{{ koji_mbs_principal }}'); insert into user_krb_principals (user_id, krb_principal) values ((select id from user_id),'{{ koji_mbs_principal }}');
INSERT INTO user_perms (user_id, perm_id, creator_id) VALUES (3, 1, 1); INSERT INTO user_perms (user_id, perm_id, creator_id) VALUES (3, 1, 1);
with user_id as (insert into users (name, status, usertype) values ('{{ koji_sigul_user }}', 0, 0) returning id)
insert into user_krb_principals (user_id, krb_principal) values ((select id from user_id),'{{ koji_sigul_principal }}');
INSERT INTO user_perms (user_id, perm_id, creator_id) VALUES (4, 1, 1);