diff options
author | 2017-08-01 20:00:18 +0000 | |
---|---|---|
committer | 2017-08-01 20:00:18 +0000 | |
commit | 56d4563935ce51c54e8a4c38463e6c86dabee889 (patch) | |
tree | 2ff3b44f253d50d07683708e048be194e11caf10 /docker/services/octavia-api.yaml | |
parent | 24349715ca7f05450d2d2da5c29fb76d44fd52aa (diff) | |
parent | 0cb45d65c607cf4eb9a4096c7cc3f1c8a5ca58b4 (diff) |
Merge "Generate MySQL client config if service requires database"
Diffstat (limited to 'docker/services/octavia-api.yaml')
-rw-r--r-- | docker/services/octavia-api.yaml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docker/services/octavia-api.yaml b/docker/services/octavia-api.yaml index f5b4baec..86730ebc 100644 --- a/docker/services/octavia-api.yaml +++ b/docker/services/octavia-api.yaml @@ -50,6 +50,9 @@ resources: ContainersCommon: type: ./containers-common.yaml + MySQLClient: + type: ../../puppet/services/database/mysql-client.yaml + OctaviaApiPuppetBase: type: ../../puppet/services/octavia-api.yaml properties: @@ -67,7 +70,10 @@ outputs: service_name: {get_attr: [OctaviaApiPuppetBase, role_data, service_name]} config_settings: {get_attr: [OctaviaApiPuppetBase, role_data, config_settings]} step_config: &step_config - get_attr: [OctaviaApiPuppetBase, role_data, step_config] + list_join: + - "\n" + - - {get_attr: [OctaviaApiPuppetBase, role_data, step_config]} + - {get_attr: [MySQLClient, role_data, step_config]} service_config_settings: {get_attr: [OctaviaApiPuppetBase, role_data, service_config_settings]} # BEGIN DOCKER SETTINGS # puppet_config: |