aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-02-14 10:51:46 +0000
committerGerrit Code Review <review@openstack.org>2017-02-14 10:51:46 +0000
commit242fe1bdfef406d4ca3cd59033fe3c5877ffeec4 (patch)
treebdb29910fbb0ef5d333eed09f6aeb4a16d6ac5e9
parent093949dc5d102d13d857e18427ce671861dc6352 (diff)
parent8896c4e2c66c9d528c0438ae3a42341a583a5124 (diff)
Merge "Fix empty parameter_default error in environment file"
-rw-r--r--environments/host-config-pre-network.j2.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/environments/host-config-pre-network.j2.yaml b/environments/host-config-pre-network.j2.yaml
index fe1302b5..c79e28b4 100644
--- a/environments/host-config-pre-network.j2.yaml
+++ b/environments/host-config-pre-network.j2.yaml
@@ -1,12 +1,12 @@
resource_registry:
# Create the registry only for roles with the word "Compute" in it. Like ComputeOvsDpdk, ComputeSriov, etc.,
-{% for role in roles %}
+{%- for role in roles -%}
{% if "Compute" in role.name %}
OS::TripleO::{{role.name}}::PreNetworkConfig: ../extraconfig/pre_network/{{role.name.lower()}}-host_config_and_reboot.yaml
-{% endif %}
+{%- endif -%}
{% endfor %}
-parameter_defaults:
+#parameter_defaults:
# Sample parameters for Compute and ComputeOvsDpdk roles
#ComputeKernelArgs: ""
#ComputeTunedProfileName: ""