diff options
author | Ralph Bean <rbean@redhat.com> | 2016-03-16 14:58:15 +0000 |
---|---|---|
committer | Ralph Bean <rbean@redhat.com> | 2016-03-16 14:58:15 +0000 |
commit | a457556110f5c658516e62ef63035be569ce30fa (patch) | |
tree | a931c176e8b7bb5c9d6a7e0245c1dee38bfb0b06 | |
parent | 37805e4c02961e7eab0ff279a0dce95ce142de5d (diff) | |
download | ansible-a457556110f5c658516e62ef63035be569ce30fa.tar.gz ansible-a457556110f5c658516e62ef63035be569ce30fa.tar.xz ansible-a457556110f5c658516e62ef63035be569ce30fa.zip |
Turn on fedmsg for PDC.
-rw-r--r-- | inventory/group_vars/pdc-web | 5 | ||||
-rw-r--r-- | inventory/group_vars/pdc-web-stg | 5 | ||||
-rw-r--r-- | roles/pdc/frontend/templates/settings_local.py | 5 |
3 files changed, 9 insertions, 6 deletions
diff --git a/inventory/group_vars/pdc-web b/inventory/group_vars/pdc-web index f07deb7fe..59073dad2 100644 --- a/inventory/group_vars/pdc-web +++ b/inventory/group_vars/pdc-web @@ -29,6 +29,5 @@ fedmsg_certs: - service: pdc owner: root group: apache - # We don't have notifications from PDC yet, but when we do, add them here. - #can_send: - #- pdc.somethingorother + can_send: + - pdc.compose diff --git a/inventory/group_vars/pdc-web-stg b/inventory/group_vars/pdc-web-stg index 1c55f0735..a7e45f96c 100644 --- a/inventory/group_vars/pdc-web-stg +++ b/inventory/group_vars/pdc-web-stg @@ -29,6 +29,5 @@ fedmsg_certs: - service: pdc owner: root group: apache - # We don't have notifications from PDC yet, but when we do, add them here. - #can_send: - #- pdc.somethingorother + can_send: + - pdc.compose diff --git a/roles/pdc/frontend/templates/settings_local.py b/roles/pdc/frontend/templates/settings_local.py index 2d021a520..256260c3d 100644 --- a/roles/pdc/frontend/templates/settings_local.py +++ b/roles/pdc/frontend/templates/settings_local.py @@ -10,6 +10,11 @@ # settings, please remember to update your settings_local.py # when the items you extended got updated in settings.py. +# Turn on the fedmsg publishing plugin. +MESSAGE_BUS = { + 'MLP': 'fedmsg', # MLP: Messaging Library Package +} + REST_FRAMEWORK = { 'DEFAULT_AUTHENTICATION_CLASSES': ( 'pdc.apps.auth.authentication.TokenAuthenticationWithChangeSet', |