diff options
author | 2016-05-18 22:26:22 -0400 | |
---|---|---|
committer | 2016-07-12 14:14:24 +0200 | |
commit | 0415a2a82bc1b72570a8e10a6384fc5a9f34b04f (patch) | |
tree | 5eab597ee24952efbefc32f607c0c41e662970a8 /puppet/services/pacemaker/gnocchi-statsd.yaml | |
parent | c4f27255c50a8afc737346db549b701515494f79 (diff) |
Gnocchi composable roles
Implements: blueprint composable-services-within-roles
Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com>
Co-Authored-By: Carlos Camacho <ccamacho@redhat.com>
Depends-On: Id728aae79442c45ab48fe0914c065f1807e8890d
Closes-Bug: #1601846
Change-Id: I40a3815923099d00a0f3fc1d88a942784e7c6fb9
Diffstat (limited to 'puppet/services/pacemaker/gnocchi-statsd.yaml')
-rw-r--r-- | puppet/services/pacemaker/gnocchi-statsd.yaml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/puppet/services/pacemaker/gnocchi-statsd.yaml b/puppet/services/pacemaker/gnocchi-statsd.yaml new file mode 100644 index 00000000..8625b4e1 --- /dev/null +++ b/puppet/services/pacemaker/gnocchi-statsd.yaml @@ -0,0 +1,29 @@ +heat_template_version: 2016-04-08 + +description: > + Gnocchi service configured with Puppet + +parameters: + EndpointMap: + default: {} + description: Mapping of service endpoint -> protocol. Typically set + via parameter_defaults in the resource registry. + type: json + +resources: + GnocchiServiceBase: + type: ../gnocchi-base.yaml + properties: + EndpointMap: {get_param: EndpointMap} + +outputs: + role_data: + description: Role data for the Gnocchi role. + value: + config_settings: + map_merge: + - get_attr: [GnocchiServiceBase, role_data, config_settings] + - gnocchi::statsd::manage_service: false + tripleo::profile::pacemaker::gnocchi::gnocchi_indexer_backend: {get_attr: [GnocchiServiceBase, aux_parameters, gnocchi_indexer_backend]} + step_config: | + include ::tripleo::profile::pacemaker::gnocchi::statsd |