Copy empty dummy files instead of removing default files. For https://fedorahosted.org/fedora-infrastructure/ticket/4995.

This commit is contained in:
Ralph Bean 2015-11-30 20:19:08 +00:00
parent 87a5d3b374
commit 9fdaee131c
3 changed files with 10 additions and 4 deletions

View file

@ -0,0 +1,3 @@
# This is empty on purpose. See:
# https://fedorahosted.org/fedora-infrastructure/ticket/4995
config = {}

View file

@ -0,0 +1,3 @@
# This is empty on purpose. See:
# https://fedorahosted.org/fedora-infrastructure/ticket/4995
config = {}

View file

@ -11,11 +11,11 @@
- fedmsg/gateway
- fedmsg/gateway/slave
- name: Drop endpoints.py and gateway.py from fedmsg
file: name={{ item }} state=absent
- name: Copy in empty endpoints.py and gateway.py
copy: src={{item}} dest=/etc/fedmsg.d/{{item}}
with_items:
- /etc/fedmsg.d/endpoints.py
- /etc/fedmsg.d/gateway.py
- endpoints.py
- gateway.py
tags:
- fedmsgdconfig
- fedmsg