Remove the ceilometer::policy class

... because it was deprecated during the Xena cycle and has had no
effect since then.

Change-Id: I5c65afbc9f33b8d02545cceb29f305e8bd50ff47
This commit is contained in:
Takashi Kajinami 2021-10-12 13:35:47 +09:00
parent 5cf53703eb
commit 330da65baf
2 changed files with 4 additions and 37 deletions

View File

@ -1,37 +0,0 @@
# == Class: ceilometer::policy
#
# DEPRECATED !!
# Configure the ceilometer policies
#
# === Parameters
#
# [*policies*]
# (Optional) Set of policies to configure for ceilometer
# Example :
# {
# 'ceilometer-context_is_admin' => {
# 'key' => 'context_is_admin',
# 'value' => 'true'
# },
# 'ceilometer-default' => {
# 'key' => 'default',
# 'value' => 'rule:admin_or_owner'
# }
# }
# Defaults to empty hash.
#
# [*policy_path*]
# (Optional) Path to the ceilometer policy.json file
# Defaults to /etc/ceilometer/policy.json
#
class ceilometer::policy (
$policies = {},
$policy_path = '/etc/ceilometer/policy.json',
) {
include ceilometer::deps
include ceilometer::params
warning('The ceilometer::policy class is deprecated and has no effect')
}

View File

@ -0,0 +1,4 @@
---
upgrade:
- |
The ``ceilometer::policy`` class has been removed.