mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-01-14 04:01:23 +01:00
7 lines
605 B
Django/Jinja
7 lines
605 B
Django/Jinja
{% import_yaml 'firewall/hostgroups.yaml' as default_hostgroups %}
|
|
{% import_yaml 'firewall/hostgroups.local.yaml' as local_hostgroups %}
|
|
{% set hostgroups = salt['defaults.merge'](default_hostgroups.firewall.hostgroups, local_hostgroups.firewall.hostgroups, in_place=False) %}
|
|
|
|
{% import_yaml 'firewall/assigned_hostgroups.map.yaml' as default_assigned_hostgroups %}
|
|
{% import_yaml 'firewall/assigned_hostgroups.local.map.yaml' as local_assigned_hostgroups %}
|
|
{% set assigned_hostgroups = salt['defaults.merge'](local_assigned_hostgroups, default_assigned_hostgroups, merge_lists=True, in_place=False) %} |