aboutsummaryrefslogtreecommitdiffstats
path: root/environments
diff options
context:
space:
mode:
authorMichele Baldessari <michele@acksyn.org>2017-06-14 10:07:48 +0200
committerMichele Baldessari <michele@acksyn.org>2017-06-14 10:10:03 +0200
commit47a9472c88d8f1ce0a335aca41110fb78e27bc16 (patch)
tree1471c567e1a16d8ce5ea9560d6449ddb23437af5 /environments
parent4c78689966132b9a0b224e8e1ab5b789c72c0978 (diff)
Fix network names when using network isolation
When we merged If3989f24f077738845d2edbee405bd9198e7b7db we correctly used name_lower for most things but we left out the the OS::TripleO::Network resource which would cause errors like the following: Could not fetch contents for file:///tmp/tripleoclient-LdqQGJ/tripleo-heat-templates/network/internalapi.yaml The reason is that the network filename is called internal_api.yaml. Change-Id: I40f268668ed948e5d41ed0ff5a8fc954cef7b17c Closes-Bug: #1697883
Diffstat (limited to 'environments')
-rw-r--r--environments/network-isolation.j2.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/environments/network-isolation.j2.yaml b/environments/network-isolation.j2.yaml
index 3ef9b275..6a7318fc 100644
--- a/environments/network-isolation.j2.yaml
+++ b/environments/network-isolation.j2.yaml
@@ -13,7 +13,7 @@
resource_registry:
# networks as defined in network_data.yaml
{%- for network in networks if network.enabled|default(true) %}
- OS::TripleO::Network::{{network.name}}: ../network/{{network.name.lower()}}.yaml
+ OS::TripleO::Network::{{network.name}}: ../network/{{network.name_lower|default(network.name.lower())}}.yaml
{%- endfor %}
# Port assignments for the VIPs