]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commitdiff
Remove deprecated ceilometer alarm classes
authorZhongShengping <chdzsp@163.com>
Wed, 7 Feb 2018 06:40:28 +0000 (14:40 +0800)
committerzhongshengping <chdzsp@163.com>
Tue, 27 Feb 2018 00:35:27 +0000 (00:35 +0000)
Change-Id: Iac6f69dec0abe66ce66ae8b9c82c5a7857a9dc28

manifests/alarm/evaluator.pp [deleted file]
manifests/alarm/notifier.pp [deleted file]
releasenotes/notes/remove_alarm_classes-8173e34fe223d980.yaml [new file with mode: 0644]

diff --git a/manifests/alarm/evaluator.pp b/manifests/alarm/evaluator.pp
deleted file mode 100644 (file)
index 1c1dcd7..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-# == Deprecated class: ceilometer::alarm::evaluator
-#
-# Installs the ceilometer alarm evaluator service
-#
-# === Parameters:
-#
-# [*enabled*]
-#   (Optional) Should the service be enabled.
-#   Defaults to undef.
-#
-# [*manage_service*]
-#   (Optional) Whether the service should be managed by Puppet.
-#   Defaults to undef.
-#
-# [*evaluation_interval*]
-#   (Optional) Define the time interval for the alarm evaluator
-#   Defaults to undef.
-#
-# [*evaluation_service*]
-#   (Optional) Define which service use for the evaluator
-#   Defaults to undef.
-#
-# [*partition_rpc_topic*]
-#   (Optional) Define which topic the alarm evaluator should access
-#   Defaults to undef.
-#
-# [*record_history*]
-#   (Optional) Record alarm change events
-#   Defaults to undef.
-#
-# [*coordination_url*]
-#   (Optional) The url to use for distributed group membership coordination.
-#   Defaults to undef.
-#
-class ceilometer::alarm::evaluator (
-  $manage_service      = undef,
-  $enabled             = undef,
-  $evaluation_interval = undef,
-  $evaluation_service  = undef,
-  $partition_rpc_topic = undef,
-  $record_history      = undef,
-  $coordination_url    = undef,
-) {
-
-  warning('Class is deprecated and will be removed. Use Aodh module to deploy Alarm Evaluator service')
-
-}
diff --git a/manifests/alarm/notifier.pp b/manifests/alarm/notifier.pp
deleted file mode 100644 (file)
index c90f6d4..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-# == Deprecated class: ceilometer::alarm::notifier
-#
-# Installs the ceilometer alarm notifier service
-#
-# === Parameters:
-#
-# [*enabled*]
-#   (Optional) Should the service be enabled.
-#   Defaults to undef.
-#
-# [*manage_service*]
-#   (Optional) Whether the service should be managed by Puppet.
-#   Defaults to undef.
-#
-# [*notifier_rpc_topic*]
-#   (Optional) Define on which topic the notifier will have access.
-#   Defaults to undef.
-#
-# [*rest_notifier_certificate_key*]
-#   (Optional) Define the certificate key for the rest service.
-#   Defaults to undef.
-#
-# [*rest_notifier_certificate_file*]
-#   (optional) Define the certificate file for the rest service.
-#   Defaults to undef.
-#
-# [*rest_notifier_ssl_verify*]
-#   (optional) Should the ssl verify parameter be enabled.
-#   Defaults to undef.
-#
-class ceilometer::alarm::notifier (
-  $manage_service                 = undef,
-  $enabled                        = undef,
-  $notifier_rpc_topic             = undef,
-  $rest_notifier_certificate_key  = undef,
-  $rest_notifier_certificate_file = undef,
-  $rest_notifier_ssl_verify       = undef,
-) {
-
-  warning('Class is deprecated and will be removed. Use Aodh module to deploy Alarm Notifier service')
-
-}
diff --git a/releasenotes/notes/remove_alarm_classes-8173e34fe223d980.yaml b/releasenotes/notes/remove_alarm_classes-8173e34fe223d980.yaml
new file mode 100644 (file)
index 0000000..97444ba
--- /dev/null
@@ -0,0 +1,3 @@
+---
+other:
+  - Remove deprecated ceilometer alarm classes.