mirror of
https://github.com/saltstack-formulas/bind-formula.git
synced 2025-04-16 09:40:22 +00:00

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
12 lines
282 B
Text
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 %}
|
|
|