Deprecate ceilometer::agent::central

ceilometer::agent::central is deprecated and will me removed in a future
release. Users should declare ceilometer::agent::polling with central
namespace activated.

Change-Id: I52e83ecc3ba2f39a671b2b18a7a9a1c167375088
This commit is contained in:
Emilien Macchi 2017-01-16 15:17:58 -05:00
parent 7b2cfda7d4
commit 14a4c1262f
5 changed files with 9 additions and 3 deletions

View File

@ -58,7 +58,7 @@ class { '::ceilometer':
class { '::ceilometer::client': } class { '::ceilometer::client': }
class { '::ceilometer::collector': } class { '::ceilometer::collector': }
class { '::ceilometer::expirer': } class { '::ceilometer::expirer': }
class { '::ceilometer::agent::central': } class { '::ceilometer::agent::polling': }
class { '::ceilometer::agent::notification': } class { '::ceilometer::agent::notification': }
class { '::ceilometer::db': } class { '::ceilometer::db': }
class { '::ceilometer::api': class { '::ceilometer::api':

View File

@ -15,7 +15,7 @@ class { '::ceilometer::keystone::auth':
} }
class { '::ceilometer::client': } class { '::ceilometer::client': }
class { '::ceilometer::expirer': } class { '::ceilometer::expirer': }
class { '::ceilometer::agent::central': } class { '::ceilometer::agent::polling': }
class { '::ceilometer::agent::notification': } class { '::ceilometer::agent::notification': }
class { '::ceilometer::keystone::authtoken': class { '::ceilometer::keystone::authtoken':
password => 'a_big_secret', password => 'a_big_secret',

View File

@ -18,7 +18,7 @@ node default {
} }
# Configure the ceilometer database # Configure the ceilometer database
# Only needed if ceilometer::agent::central or ceilometer::api are declared # Only needed if ceilometer::agent::polling or ceilometer::api are declared
class { '::ceilometer::db': class { '::ceilometer::db':
} }

View File

@ -31,6 +31,8 @@ class ceilometer::agent::central (
include ::ceilometer::deps include ::ceilometer::deps
include ::ceilometer::params include ::ceilometer::params
warning('This class is deprecated. Please use ceilometer::agent::central with central namespace instead.')
package { 'ceilometer-agent-central': package { 'ceilometer-agent-central':
ensure => $package_ensure, ensure => $package_ensure,
name => $::ceilometer::params::agent_central_package_name, name => $::ceilometer::params::agent_central_package_name,

View File

@ -0,0 +1,4 @@
---
deprecations:
- ceilometer::agent::central is deprecated and will be removed in a future
release. Please switch to ceilometer::agent::polling with central namespace.