diff options
author | Zane Bitter <zbitter@redhat.com> | 2017-05-05 14:43:11 -0400 |
---|---|---|
committer | Zane Bitter <zbitter@redhat.com> | 2017-05-05 14:43:11 -0400 |
commit | b26fe7d164eeeef6487628208c0ad0f16332331c (patch) | |
tree | 8eadecf22f2d1c729171bd4b3283d357055c4437 /puppet/services/ec2-api.yaml | |
parent | 574617d007b02f98b2ac9b7e853cf4fd266fe085 (diff) |
Use the make_url function to build URLs
Change-Id: I2b23d92c85d5ecc889a7ee597b90e930bde9028e
Depends-On: I72f84e737b042ecfaabf5639c6164d46a072b423
Diffstat (limited to 'puppet/services/ec2-api.yaml')
-rw-r--r-- | puppet/services/ec2-api.yaml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/puppet/services/ec2-api.yaml b/puppet/services/ec2-api.yaml index 98d656a5..3b002880 100644 --- a/puppet/services/ec2-api.yaml +++ b/puppet/services/ec2-api.yaml @@ -1,4 +1,4 @@ -heat_template_version: ocata +heat_template_version: pike description: > OpenStack EC2-API service configured with Puppet @@ -99,15 +99,15 @@ outputs: params: $NETWORK: {get_param: [ServiceNetMap, Ec2ApiMetadataNetwork]} ec2api::db::database_connection: - list_join: - - '' - - - {get_param: [EndpointMap, MysqlInternal, protocol]} - - '://ec2_api:' - - {get_param: Ec2ApiPassword} - - '@' - - {get_param: [EndpointMap, MysqlInternal, host]} - - '/ec2_api' - - '?read_default_file=/etc/my.cnf.d/tripleo.cnf&read_default_group=tripleo' + make_url: + scheme: {get_param: [EndpointMap, MysqlInternal, protocol]} + username: ec2_api + password: {get_param: Ec2ApiPassword} + host: {get_param: [EndpointMap, MysqlInternal, host]} + path: /ec2_api + query: + read_default_file: /etc/my.cnf.d/tripleo.cnf + read_default_group: tripleo ec2api::api::keystone_ec2_tokens_url: list_join: - '' |