From 7eef8cdfa79643d7859122c3f9a3d346069d7cea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20BENO=C3=8ET?= Date: Mon, 30 Dec 2024 10:28:15 +0100 Subject: [PATCH] chore: remove stray UTF-8 nbsps --- Vagrantfile | 4 ++-- ansible/files/domains.j2 | 16 ++++++++-------- ansible/files/resolved.conf.j2 | 2 +- ansible/files/zf-domain.j2 | 2 +- ansible/files/zf-reverse.j2 | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index a4bdeac..2824fc3 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -9,10 +9,10 @@ def env_or_default(key, value) end end -# Read parameters from the environment. +# Read parameters from the environment. vm_cpus = env_or_default("VM_CPU", 4) vm_memory = env_or_default("VM_MEMORY", 16 * 1024) -# More parameters from the environment. These are only used during provisioning. +# More parameters from the environment. These are only used during provisioning. apt_proxy = env_or_default("APT_PROXY", "") vm_locale = env_or_default("VM_LOCALE", "en_GB.UTF-8") chezmoi_source = env_or_default("CHEZMOI_SOURCE", "") diff --git a/ansible/files/domains.j2 b/ansible/files/domains.j2 index 0bddbd2..3a87097 100644 --- a/ansible/files/domains.j2 +++ b/ansible/files/domains.j2 @@ -3,25 +3,25 @@ include "/etc/bind/tf-key.conf"; // Load Terraform key // Main domain zone "{{ domain_name }}" in { type master; - file "/var/lib/bind/db.{{ domain_name }}"; + file "/var/lib/bind/db.{{ domain_name }}"; update-policy { - grant {{ update_key }} subdomain {{ domain_name }}. A CNAME; + grant {{ update_key }} subdomain {{ domain_name }}. A CNAME; }; }; -// Reverse DNS for {{ back_net }}/24 -zone "{{ back_arpa }}" in { +// Reverse DNS for {{ back_net }}/24 +zone "{{ back_arpa }}" in { type master; - file "/var/lib/bind/db.{{ back_arpa }}"; + file "/var/lib/bind/db.{{ back_arpa }}"; update-policy { grant {{ update_key }} subdomain {{ back_arpa }}. PTR; }; }; -// Reverse DNS for {{ front_net }}/24 -zone "{{ front_arpa }}" in { +// Reverse DNS for {{ front_net }}/24 +zone "{{ front_arpa }}" in { type master; - file "/var/lib/bind/db.{{ front_arpa }}"; + file "/var/lib/bind/db.{{ front_arpa }}"; update-policy { grant {{ update_key }} subdomain {{ front_arpa }}. PTR; }; diff --git a/ansible/files/resolved.conf.j2 b/ansible/files/resolved.conf.j2 index 4be0c47..d5e8d70 100644 --- a/ansible/files/resolved.conf.j2 +++ b/ansible/files/resolved.conf.j2 @@ -1,3 +1,3 @@ [Resolve] -Domains=~{{ domain_name }} ~{{ back_arpa }} ~{{ front_arpa }} {{ domain_name }} +Domains=~{{ domain_name }} ~{{ back_arpa }} ~{{ front_arpa }} {{ domain_name }} DNS=127.0.0.1 diff --git a/ansible/files/zf-domain.j2 b/ansible/files/zf-domain.j2 index 2f14d20..5e62e53 100644 --- a/ansible/files/zf-domain.j2 +++ b/ansible/files/zf-domain.j2 @@ -1,6 +1,6 @@ $ORIGIN . $TTL 21600 -{{ domain_name }} IN SOA vm-host.{{ domain_name }}. lol.mail.hostmaster.ici.osef. ( +{{ domain_name }} IN SOA vm-host.{{ domain_name }}. lol.mail.hostmaster.ici.osef. ( 1 ; serial 86400 ; refresh (1 day) 3600 ; retry (1 hour) diff --git a/ansible/files/zf-reverse.j2 b/ansible/files/zf-reverse.j2 index 0af3733..4a452d4 100644 --- a/ansible/files/zf-reverse.j2 +++ b/ansible/files/zf-reverse.j2 @@ -1,6 +1,6 @@ $ORIGIN . $TTL 21600 -{{ item.arpa }} IN SOA vm-host.{{ domain_name }}. lol.mail.hostmaster.ici.osef. ( +{{ item.arpa }} IN SOA vm-host.{{ domain_name }}. lol.mail.hostmaster.ici.osef. ( 1 ; serial 86400 ; refresh (1 day) 3600 ; retry (1 hour) @@ -9,4 +9,4 @@ $TTL 21600 ) IN NS vm-host.{{ domain_name }}. $ORIGIN {{ item.arpa }}. -1 IN PTR {{ item.host }}.{{ domain_name }}. +1 IN PTR {{ item.host }}.{{ domain_name }}.