distgit: turn on fedora-messaging notification and give apache access to the git hook cert and keys
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
425312bab6
commit
46b327807f
2 changed files with 14 additions and 0 deletions
|
@ -14,3 +14,5 @@ default_namespace = rpms
|
||||||
[upload]
|
[upload]
|
||||||
fedmsgs = False
|
fedmsgs = False
|
||||||
nomd5 = True
|
nomd5 = True
|
||||||
|
fedora_messaging = True
|
||||||
|
fedora_messaging_config = '/etc/fedora-messaging/git-hooks-messaging.toml'
|
||||||
|
|
|
@ -138,6 +138,18 @@
|
||||||
- config
|
- config
|
||||||
- distgit
|
- distgit
|
||||||
|
|
||||||
|
- name: Make sure apache can access the fedora-messasing keys
|
||||||
|
acl:
|
||||||
|
path: {{ item }}
|
||||||
|
with_items:
|
||||||
|
- /etc/pki/rabbitmq/git-hooks.ca
|
||||||
|
- /etc/pki/rabbitmq/git-hooks.crt
|
||||||
|
- /etc/pki/rabbitmq/git-hooks.key
|
||||||
|
entity: apache
|
||||||
|
etype: group
|
||||||
|
permissions: r
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: create the distgit root directory (/srv/git)
|
- name: create the distgit root directory (/srv/git)
|
||||||
file: dest=/srv/git state=directory mode=0755
|
file: dest=/srv/git state=directory mode=0755
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue