diff options
author | Pradeep Kilambi <pkilambi@redhat.com> | 2016-05-18 22:26:22 -0400 |
---|---|---|
committer | Carlos Camacho <ccamacho@redhat.com> | 2016-07-12 14:14:24 +0200 |
commit | 0415a2a82bc1b72570a8e10a6384fc5a9f34b04f (patch) | |
tree | 5eab597ee24952efbefc32f607c0c41e662970a8 /puppet/services/pacemaker/gnocchi-api.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-api.yaml')
-rw-r--r-- | puppet/services/pacemaker/gnocchi-api.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/puppet/services/pacemaker/gnocchi-api.yaml b/puppet/services/pacemaker/gnocchi-api.yaml new file mode 100644 index 00000000..ac5355d9 --- /dev/null +++ b/puppet/services/pacemaker/gnocchi-api.yaml @@ -0,0 +1,27 @@ +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] + step_config: | + include ::tripleo::profile::pacemaker::gnocchi::api |