Merge "Fix wrong parameter passed to heat-params"

This commit is contained in:
Jenkins 2015-09-10 23:19:45 +00:00 committed by Gerrit Code Review
commit a51a4d49f2
3 changed files with 2 additions and 5 deletions

View File

@ -9,6 +9,4 @@ write_files:
HTTP_PROXY="$HTTP_PROXY"
HTTPS_PROXY="$HTTPS_PROXY"
NO_PROXY="$NO_PROXY"
FIXED_NETWORK_CIDR="$FIXED_NETWORK_CIDR"
SWARM_MASTER_IP="$SWARM_MASTER_IP"
SWARM_NODE_IP="$NODE_IP"

View File

@ -170,7 +170,7 @@ resources:
"$HTTP_PROXY": {get_param: http_proxy}
"$HTTPS_PROXY": {get_param: https_proxy}
"$NO_PROXY": {get_param: no_proxy}
"$NODE_IP": {get_attr: [swarm_master_eth0, fixed_ips, 0, ip_address]}
"$SWARM_MASTER_IP": {get_attr: [swarm_master_eth0, fixed_ips, 0, ip_address]}
remove_docker_key:
type: "OS::Heat::SoftwareConfig"
@ -332,7 +332,7 @@ resources:
http_proxy: {get_param: http_proxy}
https_proxy: {get_param: https_proxy}
no_proxy: {get_param: no_proxy}
swarm_master_ip: {get_attr: [swarm_master_floating, floating_ip_address]}
swarm_master_ip: {get_attr: [swarm_master_eth0, fixed_ips, 0, ip_address]}
outputs:

View File

@ -119,7 +119,6 @@ resources:
"$HTTPS_PROXY": {get_param: https_proxy}
"$NO_PROXY": {get_param: no_proxy}
"$SWARM_MASTER_IP": {get_param: swarm_master_ip}
"$NODE_IP": {get_attr: [swarm_node_eth0, fixed_ips, 0, ip_address]}
remove_docker_key:
type: "OS::Heat::SoftwareConfig"