From 6b30ff11d4e2eafda7a3ab693055c687d4a8da5d Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Tue, 19 Jul 2016 16:08:22 -0400 Subject: 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 --- puppet/services/pacemaker/database/mongodb.yaml | 1 + puppet/services/pacemaker/database/mysql.yaml | 1 + puppet/services/pacemaker/database/redis.yaml | 1 + 3 files changed, 3 insertions(+) (limited to 'puppet/services/pacemaker/database') diff --git a/puppet/services/pacemaker/database/mongodb.yaml b/puppet/services/pacemaker/database/mongodb.yaml index b2e9e0bb..c09f93a9 100644 --- a/puppet/services/pacemaker/database/mongodb.yaml +++ b/puppet/services/pacemaker/database/mongodb.yaml @@ -19,6 +19,7 @@ outputs: role_data: description: Service mongodb using composable services. value: + service_name: mongodb config_settings: map_merge: - get_attr: [MongoDbBase, role_data, config_settings] diff --git a/puppet/services/pacemaker/database/mysql.yaml b/puppet/services/pacemaker/database/mysql.yaml index 1cecbfae..cc9dc946 100644 --- a/puppet/services/pacemaker/database/mysql.yaml +++ b/puppet/services/pacemaker/database/mysql.yaml @@ -15,6 +15,7 @@ outputs: role_data: description: Service MySQL with Pacemaker using composable services. value: + service_name: mysql config_settings: step_config: | include ::tripleo::profile::pacemaker::database::mysql diff --git a/puppet/services/pacemaker/database/redis.yaml b/puppet/services/pacemaker/database/redis.yaml index 0e46f8a3..0df62a37 100644 --- a/puppet/services/pacemaker/database/redis.yaml +++ b/puppet/services/pacemaker/database/redis.yaml @@ -18,6 +18,7 @@ outputs: role_data: description: Role data for the Redis pacemaker role. value: + service_name: redis config_settings: map_merge: - get_attr: [RedisBase, role_data, config_settings] -- cgit 1.2.3-korg