summaryrefslogtreecommitdiffstats
path: root/puppet/services/pacemaker/ceilometer-api.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-07-11 20:23:24 +0000
committerGerrit Code Review <review@openstack.org>2016-07-11 20:23:24 +0000
commitcf8b152c31303f7f4c8d562dbbbc3c1399c6c4dd (patch)
tree70e21d409e2c45e6c0251bdd3e63126395fda6c0 /puppet/services/pacemaker/ceilometer-api.yaml
parent0dd151201f86688ce8cf1773ccacf69932a996c1 (diff)
parent81863d101478ec0d74402cbe11127cbb39ce7d5b (diff)
Merge "Re-enable Ceilometer composable roles for controller"
Diffstat (limited to 'puppet/services/pacemaker/ceilometer-api.yaml')
-rw-r--r--puppet/services/pacemaker/ceilometer-api.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/puppet/services/pacemaker/ceilometer-api.yaml b/puppet/services/pacemaker/ceilometer-api.yaml
new file mode 100644
index 00000000..d45b1578
--- /dev/null
+++ b/puppet/services/pacemaker/ceilometer-api.yaml
@@ -0,0 +1,29 @@
+heat_template_version: 2016-04-08
+
+description: >
+ OpenStack Ceilometer API service with Pacemaker configured with Puppet
+
+parameters:
+ EndpointMap:
+ default: {}
+ description: Mapping of service endpoint -> protocol. Typically set
+ via parameter_defaults in the resource registry.
+ type: json
+
+resources:
+ CeilometerServiceBase:
+ type: ../ceilometer-base.yaml
+ properties:
+ EndpointMap: {get_param: EndpointMap}
+
+outputs:
+ role_data:
+ description: Role data for the Ceilometer API pacemaker role.
+ value:
+ config_settings:
+ map_merge:
+ - get_attr: [CeilometerServiceBase, role_data, config_settings]
+ - ceilometer::api::manage_service: false
+ ceilometer::api::enabled: false
+ step_config: |
+ include ::tripleo::profile::pacemaker::ceilometer::api