diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-08-01 20:00:18 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-08-01 20:00:18 +0000 |
commit | 56d4563935ce51c54e8a4c38463e6c86dabee889 (patch) | |
tree | 2ff3b44f253d50d07683708e048be194e11caf10 /docker/services/glance-api.yaml | |
parent | 24349715ca7f05450d2d2da5c29fb76d44fd52aa (diff) | |
parent | 0cb45d65c607cf4eb9a4096c7cc3f1c8a5ca58b4 (diff) |
Merge "Generate MySQL client config if service requires database"
Diffstat (limited to 'docker/services/glance-api.yaml')
-rw-r--r-- | docker/services/glance-api.yaml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docker/services/glance-api.yaml b/docker/services/glance-api.yaml index f4c724b0..044eb283 100644 --- a/docker/services/glance-api.yaml +++ b/docker/services/glance-api.yaml @@ -50,6 +50,9 @@ resources: ContainersCommon: type: ./containers-common.yaml + MySQLClient: + type: ../../puppet/services/database/mysql-client.yaml + GlanceApiPuppetBase: type: ../../puppet/services/glance-api.yaml properties: @@ -70,7 +73,10 @@ outputs: - get_attr: [GlanceApiPuppetBase, role_data, config_settings] - glance::api::sync_db: false step_config: &step_config - get_attr: [GlanceApiPuppetBase, role_data, step_config] + list_join: + - "\n" + - - {get_attr: [GlanceApiPuppetBase, role_data, step_config]} + - {get_attr: [MySQLClient, role_data, step_config]} service_config_settings: {get_attr: [GlanceApiPuppetBase, role_data, service_config_settings]} # BEGIN DOCKER SETTINGS # puppet_config: |