aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/services.yaml
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2016-07-19 16:08:22 -0400
committerDan Prince <dprince@redhat.com>2016-07-22 07:29:39 -0400
commit6b30ff11d4e2eafda7a3ab693055c687d4a8da5d (patch)
tree95fe86548b0ff98e566c76b095e416bfefdf02f4 /puppet/services/services.yaml
parent60b83ae436cbe61514405602cd9eeb5da5ed56e1 (diff)
Add 'service_name' to composable services
This patch adds a new service_name section to each composable service. We now have an explicit unit test check to ensure that service_name exists in tools/yaml-validate.py. This patch also wires service_names into hieradata on each of the roles so that tools can access the deployed services locally during deployment and upgrades. Change-Id: I60861c5aa760534db3e314bba16a13b90ea72f0c
Diffstat (limited to 'puppet/services/services.yaml')
-rw-r--r--puppet/services/services.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/puppet/services/services.yaml b/puppet/services/services.yaml
index 91f0e049..64a0f985 100644
--- a/puppet/services/services.yaml
+++ b/puppet/services/services.yaml
@@ -30,5 +30,6 @@ outputs:
role_data:
description: Combined Role data for this set of services.
value:
+ service_names: {get_attr: [ServiceChain, role_data, service_name]}
config_settings: {map_merge: {get_attr: [ServiceChain, role_data, config_settings]}}
step_config: {list_join: ["\n", {get_attr: [ServiceChain, role_data, step_config]}]}