Add a yumconfig for hotness01.stg.
This commit is contained in:
parent
e5ef8035e9
commit
1519097e57
3 changed files with 29 additions and 0 deletions
21
roles/hotness/files/yumconfig
Normal file
21
roles/hotness/files/yumconfig
Normal file
|
@ -0,0 +1,21 @@
|
|||
[main]
|
||||
cachedir=/var/cache/yum-hotness/$basearch/$releasever
|
||||
keepcache=0
|
||||
debuglevel=2
|
||||
logfile=/var/log/yum-hotness.log
|
||||
exactarch=1
|
||||
obsoletes=1
|
||||
gpgcheck=1
|
||||
plugins=1
|
||||
installonly_limit=3
|
||||
|
||||
# It is usually 90m. We'll expire often..
|
||||
metadata_expire=10m
|
||||
|
||||
# We have only one repo to query...
|
||||
[rawhide-source]
|
||||
name=Rawhide Source
|
||||
failovermethod=priority
|
||||
baseurl=http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/source/SRPMS/
|
||||
enabled=1
|
||||
gpgcheck=0
|
|
@ -49,6 +49,12 @@
|
|||
- config
|
||||
- hotness
|
||||
|
||||
- name: Copy over a yum config for repoquery
|
||||
copy: src=yumconfig dest=/etc/hotness-yum.conf
|
||||
tags:
|
||||
- config
|
||||
- hotness
|
||||
|
||||
- name: Create /usr/share/fedmsg (for bugzilla cookies...)
|
||||
file: dest=/usr/share/fedmsg owner=fedmsg group=fedmsg mode=0750 state=directory
|
||||
tags:
|
||||
|
|
|
@ -74,6 +74,8 @@ config = {
|
|||
'hotness.pkgdb_url': 'https://admin.fedoraproject.org/pkgdb/api',
|
||||
{% endif %}
|
||||
|
||||
'hotness.yumconfig': '/etc/hotness-yum.conf',
|
||||
|
||||
"hotness.cache": {
|
||||
"backend": "dogpile.cache.dbm",
|
||||
"expiration_time": 300,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue