diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-12-19 22:39:40 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-12-19 22:39:40 +0000 |
commit | 48eef39ca35fda6e544cb43f0ee974f600608fd2 (patch) | |
tree | c0960a49cb588b8b9a42e87cba8d10d10c171651 /manifests/profile/base | |
parent | 661dfdbdc6b0f49ffec63415191aa94d74f69e8c (diff) | |
parent | bb317aac01c4eced7cf1cd104948d49947f494bd (diff) |
Merge "Disable legacy ceilometer api by default"
Diffstat (limited to 'manifests/profile/base')
-rw-r--r-- | manifests/profile/base/ceilometer/api.pp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/profile/base/ceilometer/api.pp b/manifests/profile/base/ceilometer/api.pp index 6ef4748..2e7986b 100644 --- a/manifests/profile/base/ceilometer/api.pp +++ b/manifests/profile/base/ceilometer/api.pp @@ -18,6 +18,10 @@ # # === Parameters # +# [*enable_legacy_api*] +# (Optional) Enable legacy ceilometer api service. +# Defaults to hiera('enable_legacy_api', false) +# # [*ceilometer_network*] # (Optional) The network name where the ceilometer endpoint is listening on. # This is set by t-h-t. @@ -53,6 +57,7 @@ # Defaults to hiera('step') # class tripleo::profile::base::ceilometer::api ( + $enable_legacy_api = hiera('enable_legacy_ceilometer_api', false), $ceilometer_network = hiera('ceilometer_api_network', undef), $certificates_specs = hiera('apache_certificates_specs', {}), $enable_internal_tls = hiera('enable_internal_tls', false), @@ -76,7 +81,7 @@ class tripleo::profile::base::ceilometer::api ( $tls_keyfile = undef } - if $step >= 4 { + if $step >= 4 and $enable_legacy_api { include ::ceilometer::api class { '::ceilometer::wsgi::apache': ssl_cert => $tls_certfile, |