Merge "Remove url option"

This commit is contained in:
Zuul 2018-01-22 14:38:30 +00:00 committed by Gerrit Code Review
commit 489db857ea
2 changed files with 6 additions and 13 deletions

View File

@ -22,28 +22,15 @@
# and gnocchi resources/metrics.
# Defaults to $::os_service_default.
#
# DEPRECATED PARAMETERS
#
# [*url*]
# (Optional) Gnocchi URL
# Defaults to undef
#
class ceilometer::dispatcher::gnocchi (
$filter_service_activity = $::os_service_default,
$filter_project = $::os_service_default,
$archive_policy = $::os_service_default,
$resources_definition_file = $::os_service_default,
# DEPRECATED PARAMETERS
$url = undef,
) {
include ::ceilometer::deps
if $url {
warning('url parameter is deprecated, has no effect and will be removed in the Q release.')
}
ceilometer_config {
'dispatcher_gnocchi/filter_service_activity': value => $filter_service_activity;
'dispatcher_gnocchi/filter_project': value => $filter_project;

View File

@ -0,0 +1,6 @@
---
other:
- |
ceilometer::dispatcher::gnocchi::url option has been deprecated
in the previous release. Let's remove this option as the code
upstream has been removed.