aboutsummaryrefslogtreecommitdiffstats
path: root/puppet
diff options
context:
space:
mode:
authorPradeep Kilambi <pkilambi@redhat.com>2017-08-23 10:34:46 -0400
committerEmilien Macchi <emilien@redhat.com>2017-08-28 02:56:23 +0000
commit46219af13603bf47c2c73fa3a290587fb8006235 (patch)
treebe1fd42276de3f0c25291d877b9f74a1f065e114 /puppet
parent98f578b7789cb4edef1090574ab7ab854f886fed (diff)
Make archive policy configurable
Change-Id: I603ce6922130fe32aa1a154df8146ee582bf1a45 (cherry picked from commit b1d7887ce710a98f061100e2878a54c06a5d09e2)
Diffstat (limited to 'puppet')
-rw-r--r--puppet/services/ceilometer-base.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/puppet/services/ceilometer-base.yaml b/puppet/services/ceilometer-base.yaml
index 5cc020a9..8d574088 100644
--- a/puppet/services/ceilometer-base.yaml
+++ b/puppet/services/ceilometer-base.yaml
@@ -115,6 +115,10 @@ parameters:
description: Driver or drivers to handle sending notifications.
constraints:
- allowed_values: [ 'messagingv2', 'noop' ]
+ GnocchiArchivePolicy:
+ default: 'low'
+ type: string
+ description: archive policy to use with gnocchi backend
conditions:
service_debug_unset: {equals : [{get_param: CeilometerDebug}, '']}
@@ -149,7 +153,7 @@ outputs:
ceilometer::agent::auth::auth_endpoint_type: 'internalURL'
ceilometer::dispatcher::gnocchi::url: {get_param: [EndpointMap, GnocchiInternal, uri]}
ceilometer::dispatcher::gnocchi::filter_project: 'service'
- ceilometer::dispatcher::gnocchi::archive_policy: 'low'
+ ceilometer::dispatcher::gnocchi::archive_policy: {get_param: GnocchiArchivePolicy}
ceilometer::dispatcher::gnocchi::resources_definition_file: 'gnocchi_resources.yaml'
ceilometer::notification_driver: {get_param: NotificationDriver}
ceilometer::rabbit_userid: {get_param: RabbitUserName}