d483ace379
The default() filter provided by Jinja2 treats the special class Undefined differently from False-y Python values. By default, default() will only return its first argument if the prior expression evaluates to Undefined. The second boolean parameter asks the function to also accept Python False-y values as undefined and return the default value. In these two roles, the variables retrieved from configuration files may not be present and the default function won't work since these variables will be 'Undefined' or set to an empty string. Change-Id: Ib2cb1f94c71409477eb18d55f160d57dc5850ead Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com> |
||
---|---|---|
.. | ||
dhcp-introspection.yaml | ||
dhcp-provisioning.yaml |