Merge branch 'dani4571-dhcp_group_include_list'

This commit is contained in:
Maciej Delmanowski 2017-01-09 13:38:36 +01:00
commit 082b385e6f
No known key found for this signature in database
GPG Key ID: 375A77ECA0A04619

View File

@ -44,7 +44,13 @@ group {
{{ group.options | indent(8,true) }} {{ group.options | indent(8,true) }}
{% endif %} {% endif %}
{% if group.include is defined and group.include %} {% if group.include is defined and group.include %}
{% if group.include is string %}
include "{{ group.include }}"; include "{{ group.include }}";
{% else %}
{% for filename in group.include %}
include "{{ filename }}";
{% endfor %}
{% endif %}
{% endif %} {% endif %}
{% if group.groups is defined and group.groups %} {% if group.groups is defined and group.groups %}
{% for group in group.groups %} {% for group in group.groups %}