diff --git a/firewalld/files/service.xml b/firewalld/files/service.xml index 7d92f35..6a0d859 100644 --- a/firewalld/files/service.xml +++ b/firewalld/files/service.xml @@ -79,4 +79,9 @@ {%- endfor %} {%- endif %} {%- endif %} +{%- if 'includes' in service %} + {%- for v in service.includes %} + + {%- endfor %} +{%- endif %} diff --git a/pillar.example b/pillar.example index 87d4690..9b3d161 100644 --- a/pillar.example +++ b/pillar.example @@ -55,6 +55,8 @@ firewalld: ipv6: - ff02::fb - ff02::fc + includes: + - dhcp zabbixcustom: short: Zabbixcustom diff --git a/test/integration/default/files/_mapdata/almalinux-8.yaml b/test/integration/default/files/_mapdata/almalinux-8.yaml index 2b396a8..6046c81 100644 --- a/test/integration/default/files/_mapdata/almalinux-8.yaml +++ b/test/integration/default/files/_mapdata/almalinux-8.yaml @@ -99,6 +99,8 @@ values: source_ports: tcp: - 21 + includes: + - dhcp zabbixcustom: description: zabbix custom rule ports: