tripleo-heat-templates/environments/host-config-pre-network.j2.yaml
Saravanan KR 8896c4e2c6 Fix empty parameter_default error in environment file
Providing an empty 'parameter_defaults' is resulting in overriding
of all the previously populated 'parameters_defaults' as None.
Commenting the empty statement and cleaned-up emtpy line in j2
templating.

Change-Id: I75bac6b558ac16a08e0964599cecae5bf10edf8a
2017-02-14 11:19:55 +05:30

17 lines
604 B
YAML

resource_registry:
# Create the registry only for roles with the word "Compute" in it. Like ComputeOvsDpdk, ComputeSriov, etc.,
{%- 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 -%}
{% endfor %}
#parameter_defaults:
# Sample parameters for Compute and ComputeOvsDpdk roles
#ComputeKernelArgs: ""
#ComputeTunedProfileName: ""
#ComputeHostCpuList: ""
#ComputeOvsDpdkKernelArgs: ""
#ComputeOvsDpdkTunedProfileName: ""
#ComputeOvsDpdkHostCpuList: ""