bind-formula/bind/files/debian/named.conf.key
Bernhard M. Wiedemann 353a8dfc15 Sort hashes
To process hash entries in deterministic order.

Without this patch, config entries were different for every run
and required a service restart when nothing actually changed.

Doing it similar to
0fe2f7e66b
2018-08-31 15:03:48 +02:00

12 lines
282 B
Text

# vim: sts=2 ts=2 sw=2 et ai
//
// Do any local configuration here
//
{% for key,args in salt['pillar.get']('bind:keys', {})|dictsort -%}
key "{{ key }}" {
algorithm {{ args['algorithm'] | default('HMAC-MD5.SIG-ALG.REG.INT') }};
secret "{{ args['secret'] }}";
};
{% endfor %}