]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commitdiff
Remove store_events option
authorZhongShengping <chdzsp@163.com>
Wed, 7 Feb 2018 06:15:37 +0000 (14:15 +0800)
committerzhongshengping <chdzsp@163.com>
Tue, 27 Feb 2018 00:35:38 +0000 (00:35 +0000)
Change-Id: I31e8c17a011320cacd3a6f9480452886f8df714b

manifests/agent/notification.pp
releasenotes/notes/remove_store_events-18a34502fe2387d1.yaml [new file with mode: 0644]

index 50c9f35cb20c34fc9f9a27960f04ae57dca74cc7..01b230cc60709f31528f62efb7c7428048dd05d7 100644 (file)
 #   Defaults to ['gnocchi://'], If you are using collector
 #   override this to notifier:// instead.
 #
-# === DEPRECATED PARAMETERS:
-# [*store_events*]
-#   (Optional) Save event details.
-#   This option has been removed since Newton.
-#
-
 class ceilometer::agent::notification (
   $manage_service            = true,
   $enabled                   = true,
@@ -91,16 +85,11 @@ class ceilometer::agent::notification (
   $event_pipeline_publishers = ['gnocchi://'],
   $manage_pipeline           = false,
   $pipeline_publishers       = ['gnocchi://'],
-  $store_events              = undef,
 ) {
 
   include ::ceilometer::deps
   include ::ceilometer::params
 
-  if $store_events != undef {
-    warning('store_events has been removed since Newton.')
-  }
-
   ensure_resource('package', [$::ceilometer::params::agent_notification_package_name],
     {
       ensure => $package_ensure,
@@ -157,7 +146,6 @@ class ceilometer::agent::notification (
 
   ceilometer_config {
     'notification/ack_on_event_error'       : value => $ack_on_event_error;
-    'notification/store_events'             : value => $store_events;
     'notification/disable_non_metric_meters': value => $disable_non_metric_meters;
     'notification/workers'                  : value => $notification_workers;
     'notification/messaging_urls'           : value => $messaging_urls, secret => true;
diff --git a/releasenotes/notes/remove_store_events-18a34502fe2387d1.yaml b/releasenotes/notes/remove_store_events-18a34502fe2387d1.yaml
new file mode 100644 (file)
index 0000000..f0d7a07
--- /dev/null
@@ -0,0 +1,3 @@
+---
+other:
+  - removed deprecated ceilometer::agent::notification::store_events.