From: Pradeep Kilambi Date: Thu, 6 Apr 2017 21:45:12 +0000 (-0400) Subject: Update default event publisher X-Git-Tag: 11.0.0^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=64903dc23d39c4dc0f25263dce2a26528216356b;p=puppet-modules%2Fpuppet-ceilometer.git 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 --- diff --git a/manifests/agent/notification.pp b/manifests/agent/notification.pp index 6e95526..b1fccd1 100644 --- a/manifests/agent/notification.pp +++ b/manifests/agent/notification.pp @@ -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 diff --git a/releasenotes/notes/update-default-event-publisher-623aff98f426e60f.yaml b/releasenotes/notes/update-default-event-publisher-623aff98f426e60f.yaml new file mode 100644 index 0000000..d2d6221 --- /dev/null +++ b/releasenotes/notes/update-default-event-publisher-623aff98f426e60f.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - Update the default event publisher to be gnocchi://. This is the + default upstream. diff --git a/spec/classes/ceilometer_agent_notification_spec.rb b/spec/classes/ceilometer_agent_notification_spec.rb index 0c0d905..03b5a49 100644 --- a/spec/classes/ceilometer_agent_notification_spec.rb +++ b/spec/classes/ceilometer_agent_notification_spec.rb @@ -136,7 +136,7 @@ describe 'ceilometer::agent::notification' do " transformers:", " triggers:", " publishers:", - " - notifier://", + " - gnocchi://", ])} end