diff --git a/inventory/group_vars/pdc-web b/inventory/group_vars/pdc-web index f07deb7fe3..59073dad2c 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 1c55f0735b..a7e45f96c4 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 2d021a5206..256260c3da 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',