Update default event publisher

In pike, the default publisher is gnocchi. Lets use that
as the default. If you are using collector the override
this to notifier:// instead.

Change-Id: Ic6ba909c873bee801843718cc25974abeda9f857
This commit is contained in:
Pradeep Kilambi 2017-04-06 17:45:12 -04:00
parent d3c2c4e75a
commit 64903dc23d
3 changed files with 7 additions and 3 deletions

View File

@ -65,7 +65,7 @@
# (Optional) A list of publishers to put in event_pipeline.yaml
# Add 'notifier://?topic=alarm.all' to the list if you are using Aodh
# for alarms.
# Defaults to ['notifier://'],
# Defaults to ['gnocchi://'],
#
class ceilometer::agent::notification (
$manage_service = true,
@ -77,7 +77,7 @@ class ceilometer::agent::notification (
$messaging_urls = $::os_service_default,
$package_ensure = 'present',
$manage_event_pipeline = false,
$event_pipeline_publishers = ['notifier://'],
$event_pipeline_publishers = ['gnocchi://'],
) {
include ::ceilometer::deps

View File

@ -0,0 +1,4 @@
---
fixes:
- Update the default event publisher to be gnocchi://. This is the
default upstream.

View File

@ -136,7 +136,7 @@ describe 'ceilometer::agent::notification' do
" transformers:",
" triggers:",
" publishers:",
" - notifier://",
" - gnocchi://",
])}
end