Add the mailman3-fedmsg-plugin copr repo and enable it.
This commit is contained in:
parent
2adda13f4a
commit
0489ad0d69
3 changed files with 33 additions and 4 deletions
17
roles/mailman/files/mailman3-fedmsg-plugin.RedHat.repo
Normal file
17
roles/mailman/files/mailman3-fedmsg-plugin.RedHat.repo
Normal file
|
@ -0,0 +1,17 @@
|
|||
[mailman3-fedmsg-plugin]
|
||||
name=fedmsg plugin for mailman3, and its deps
|
||||
baseurl=https://copr-be.cloud.fedoraproject.org/results/ralph/fedmsg-python34/epel-$releasever-$basearch/
|
||||
enabled=1
|
||||
skip_if_unavailable=1
|
||||
gpgcheck=1
|
||||
gpgkey=https://copr-be.cloud.fedoraproject.org/results/ralph/fedmsg-python34/pubkey.gpg
|
||||
|
||||
## COPR doesn't provide a source repo as far as I can tell.
|
||||
## Please fix this file if I'm wrong.
|
||||
#[mailman3-fedmsg-plugin-source]
|
||||
#name=fedmsg plugin for mailman3, and its deps - Source
|
||||
#baseurl=https://copr-be.cloud.fedoraproject.org/results/ralph/fedmsg-python34/epel-$releasever-source/
|
||||
#enabled=0
|
||||
#skip_if_unavailable=1
|
||||
#gpgcheck=1
|
||||
#gpgkey=https://copr-be.cloud.fedoraproject.org/results/ralph/fedmsg-python34/pubkey.gpg
|
|
@ -59,7 +59,6 @@
|
|||
- python-pylibmc
|
||||
- python-django-haystack-xapian
|
||||
- yum-plugin-post-transaction-actions
|
||||
#- mailman3-fedmsg-plugin
|
||||
# to run the test suite:
|
||||
- python-beautifulsoup4
|
||||
- python-mock
|
||||
|
@ -75,6 +74,19 @@
|
|||
tags:
|
||||
- packages
|
||||
|
||||
- name: setup the mailman3-fedmsg repo
|
||||
copy: src=mailman3-fedmsg-plugin.RedHat.repo
|
||||
dest=/etc/yum.repos.d/mailman3-fedmsg-plugin.repo
|
||||
when: ansible_distribution == 'RedHat'
|
||||
|
||||
- name: add the GPG key for the mailman3-fedmsg-plugin repo
|
||||
rpm_key: state=present key=https://copr-be.cloud.fedoraproject.org/results/ralph/fedmsg-python34/pubkey.gpg
|
||||
when: ansible_distribution == 'RedHat'
|
||||
|
||||
- name: install the mailman3 fedmsg plugin rpm
|
||||
yum: pkg=mailman3-fedmsg-plugin state=present
|
||||
when: ansible_distribution == 'RedHat'
|
||||
|
||||
- name: install packages when not using source extracts
|
||||
when: ansible_hostname != "lists-dev.cloud.fedoraproject.org"
|
||||
yum: pkg={{ item }} state=present
|
||||
|
|
|
@ -32,9 +32,9 @@ class: mailman_hyperkitty.Archiver
|
|||
enable: yes
|
||||
configuration: {{ mailman_webui_confdir }}/mailman-hyperkitty.cfg
|
||||
|
||||
#[archiver.fedmsg]
|
||||
#class: mailman3_fedmsg_plugin.Archiver
|
||||
#enable: yes
|
||||
[archiver.fedmsg]
|
||||
class: mailman3_fedmsg_plugin.Archiver
|
||||
enable: yes
|
||||
|
||||
[archiver.prototype]
|
||||
enable: yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue