diff options
author | Dan Prince <dprince@redhat.com> | 2016-07-19 16:08:22 -0400 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2016-07-22 07:29:39 -0400 |
commit | 6b30ff11d4e2eafda7a3ab693055c687d4a8da5d (patch) | |
tree | 95fe86548b0ff98e566c76b095e416bfefdf02f4 /puppet/services/pacemaker/database | |
parent | 60b83ae436cbe61514405602cd9eeb5da5ed56e1 (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/pacemaker/database')
-rw-r--r-- | puppet/services/pacemaker/database/mongodb.yaml | 1 | ||||
-rw-r--r-- | puppet/services/pacemaker/database/mysql.yaml | 1 | ||||
-rw-r--r-- | puppet/services/pacemaker/database/redis.yaml | 1 |
3 files changed, 3 insertions, 0 deletions
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] |