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:
Kevin Fenzi 2015-08-24 16:28:26 +00:00
parent cb121df392
commit 6f7fdf720c
3 changed files with 24 additions and 3 deletions

View 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

View file

@ -146,6 +146,17 @@
tags:
- 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
#
@ -179,10 +190,10 @@
tags:
- 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"
job="/usr/local/bin/owner-sync-pkgdb f20"
cron_file=update-koji-owner-f20
job="/usr/local/bin/owner-sync-pkgdb f21"
cron_file=update-koji-owner-f21
when: inventory_hostname.startswith('bodhi-backend01')
tags:
- bodhi

View file

@ -15,3 +15,4 @@
10.5.125.44 pkgs.fedoraproject.org
10.5.124.191 s390.koji.fedoraproject.org
10.5.124.182 ppc.koji.fedoraproject.org
10.5.124.138 arm.koji.fedoraproject.org