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:
parent
5cf53703eb
commit
330da65baf
@ -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')
|
|
||||||
|
|
||||||
}
|
|
4
releasenotes/notes/remove-policy-7f6354b93ba44c18.yaml
Normal file
4
releasenotes/notes/remove-policy-7f6354b93ba44c18.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
The ``ceilometer::policy`` class has been removed.
|
Loading…
Reference in New Issue
Block a user