adding support for list of include files in dhcpd_groups
This commit is contained in:
parent
5fc5103249
commit
87bee54ff8
@ -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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user