Przeglądaj źródła
feat(service): add option to include existing services into a service
pull/60/head
K. de Jong
6 miesięcy temu
Brak konta powiązanego z adresem e-mail autora
3 zmienionych plików z
9 dodań i
0 usunięć
-
firewalld/files/service.xml
-
pillar.example
-
test/integration/default/files/_mapdata/almalinux-8.yaml
|
|
@@ -84,4 +84,9 @@ |
|
|
|
<include service="{{ v }}" /> |
|
|
|
{%- endfor %} |
|
|
|
{%- endif %} |
|
|
|
{%- if 'includes' in service %} |
|
|
|
{%- for v in service.includes %} |
|
|
|
<include service="{{ v }}" /> |
|
|
|
{%- endfor %} |
|
|
|
{%- endif %} |
|
|
|
</service> |
|
|
@@ -55,6 +55,8 @@ firewalld: |
|
|
|
ipv6: |
|
|
|
- ff02::fb |
|
|
|
- ff02::fc |
|
|
|
includes: |
|
|
|
- dhcp |
|
|
|
|
|
|
|
zabbixcustom: |
|
|
|
short: Zabbixcustom |
|
|
@@ -99,6 +99,8 @@ values: |
|
|
|
source_ports: |
|
|
|
tcp: |
|
|
|
- 21 |
|
|
|
includes: |
|
|
|
- dhcp |
|
|
|
zabbixcustom: |
|
|
|
description: zabbix custom rule |
|
|
|
ports: |