aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/gnocchi-statsd.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-07-12 20:17:44 +0000
committerGerrit Code Review <review@openstack.org>2016-07-12 20:17:44 +0000
commit0c07a26ae0a45e7c08796876f589d03e6a3636ec (patch)
treecaa127b226ad4ed0308ca0d526f10dc67d9a8d42 /puppet/services/gnocchi-statsd.yaml
parent4789de6b314d56440e023bbc5956662b94a2c3f3 (diff)
parent0415a2a82bc1b72570a8e10a6384fc5a9f34b04f (diff)
Merge "Gnocchi composable roles"
Diffstat (limited to 'puppet/services/gnocchi-statsd.yaml')
-rw-r--r--puppet/services/gnocchi-statsd.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/puppet/services/gnocchi-statsd.yaml b/puppet/services/gnocchi-statsd.yaml
new file mode 100644
index 00000000..25abf490
--- /dev/null
+++ b/puppet/services/gnocchi-statsd.yaml
@@ -0,0 +1,28 @@
+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
+ step_config: |
+ include ::tripleo::profile::base::gnocchi::statsd