Fix indentation

certbot_on_virtu
Alexandre Iooss 2020-04-26 15:53:57 +02:00
parent 47077532c1
commit 9b6f408aa4
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
1 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ key "certbot_challenge." {
// Crans zones
{% for zone in bind.zones %}
zone "{{ zone }}" {
{% if bind.master %}
{% if bind.master -%}
type master;
file "/var/local/re2o-services/dns/generated/dns.{{ zone }}.zone";
forwarders {
@ -32,7 +32,7 @@ zone "{{ zone }}" {
grant certbot_challenge. name _acme-challenge.{{ zone }} txt;
};
notify yes;
{% else %}
{% else -%}
type slave;
file "bak.{{ zone }}";
masters {
@ -40,7 +40,7 @@ zone "{{ zone }}" {
};
allow-transfer { "none"; };
notify no;
{% endif %}
{% endif -%}
};
{% endfor %}