updated opendkim state
This commit is contained in:
parent
866f0a7015
commit
354f8a9b82
@ -1,8 +1,7 @@
|
||||
{%- import_yaml "opendkim/defaults.yaml" as defaults %}
|
||||
|
||||
{%- set opendkim = salt['pillar.get'](
|
||||
'opendkim',
|
||||
default=defaults.opendkim,
|
||||
merge=True
|
||||
)
|
||||
-%}
|
||||
{%- set opendkim = salt['pillar.get']('opendkim', default=defaults.opendkim, merge=True)-%}
|
||||
|
||||
{%- set net = salt['pillar.get']('net', default=defaults, merge=True) -%}
|
||||
|
||||
{%- set hostnames = salt['pillar.get']('mail:hostnames', default=defaults) -%}
|
||||
|
@ -1,9 +1,9 @@
|
||||
{%- for key, value in salt['pillar.get']('net:ipv4_networks').items() %}
|
||||
{{ value.ip }}/{{ value.mask }}
|
||||
{%- from "opendkim/map.jinja" import opendkim with context %}
|
||||
{%- from "opendkim/map.jinja" import net with context %}
|
||||
{%- from "opendkim/map.jinja" import hostnames with context %}
|
||||
{%- for network in net.ip_networks %}
|
||||
{{ network }}
|
||||
{%- endfor %}
|
||||
{%- for key, value in salt['pillar.get']('net:ipv6_networks').items() %}
|
||||
{{ value.ip }}/{{ value.mask }}
|
||||
{%- endfor %}
|
||||
{%- for hostname in salt['pillar.get']('mail:hostnames') %}
|
||||
{%- for hostname in hostnames %}
|
||||
{{ hostname }}
|
||||
{%- endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user