Add the rest of the parts for owner sync:
koji config for root hosts entry for arm hub sync f21 not f20 now.
This commit is contained in:
parent
cb121df392
commit
6f7fdf720c
3 changed files with 24 additions and 3 deletions
9
roles/bodhi2/backend/files/koji-config
Normal file
9
roles/bodhi2/backend/files/koji-config
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[koji]
|
||||||
|
;client certificate
|
||||||
|
cert = /etc/pki/pkgdb/pkgdb.pem
|
||||||
|
|
||||||
|
;certificate of the CA that issued the client certificate
|
||||||
|
ca = /etc/pki/pkgdb/fedora-server-ca.cert
|
||||||
|
|
||||||
|
;certificate of the CA that issued the HTTP server certificate
|
||||||
|
serverca = /etc/pki/pkgdb/fedora-server-ca.cert
|
|
@ -146,6 +146,17 @@
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
|
||||||
|
- name: create pki dir
|
||||||
|
file: path=/root/.koji mode=700 state=directory
|
||||||
|
|
||||||
|
- name: install koji config for root to run owner-sync
|
||||||
|
copy: >
|
||||||
|
src=koji-config
|
||||||
|
dest=/root/.koji/config
|
||||||
|
mode=0644
|
||||||
|
tags:
|
||||||
|
- config
|
||||||
|
|
||||||
#
|
#
|
||||||
# cron job that syncs packages to koji
|
# cron job that syncs packages to koji
|
||||||
#
|
#
|
||||||
|
@ -179,10 +190,10 @@
|
||||||
tags:
|
tags:
|
||||||
- bodhi
|
- bodhi
|
||||||
|
|
||||||
- name: sync packages from pkgdb2 to koji (f20)
|
- name: sync packages from pkgdb2 to koji (f21)
|
||||||
cron: name="owner-sync-el5" minute="7,17,27,37,47,57" user="root"
|
cron: name="owner-sync-el5" minute="7,17,27,37,47,57" user="root"
|
||||||
job="/usr/local/bin/owner-sync-pkgdb f20"
|
job="/usr/local/bin/owner-sync-pkgdb f21"
|
||||||
cron_file=update-koji-owner-f20
|
cron_file=update-koji-owner-f21
|
||||||
when: inventory_hostname.startswith('bodhi-backend01')
|
when: inventory_hostname.startswith('bodhi-backend01')
|
||||||
tags:
|
tags:
|
||||||
- bodhi
|
- bodhi
|
||||||
|
|
|
@ -15,3 +15,4 @@
|
||||||
10.5.125.44 pkgs.fedoraproject.org
|
10.5.125.44 pkgs.fedoraproject.org
|
||||||
10.5.124.191 s390.koji.fedoraproject.org
|
10.5.124.191 s390.koji.fedoraproject.org
|
||||||
10.5.124.182 ppc.koji.fedoraproject.org
|
10.5.124.182 ppc.koji.fedoraproject.org
|
||||||
|
10.5.124.138 arm.koji.fedoraproject.org
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue