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