Add catalog to default knot configuration

This commit is contained in:
Miraty 2023-05-06 19:59:13 +02:00
parent c5621010dd
commit 22008c6251
4 changed files with 15 additions and 10 deletions

View file

@ -26,11 +26,19 @@ template:
journal-content: "all"
dnssec-signing: "on"
dnssec-policy: "servnest"
catalog-role: "member"
catalog-zone: "servnest.test.invalid."
zone:
- domain: "servnest.test.invalid."
zonefile-load: "whole"
journal-content: "all"
catalog-role: "generate"
- domain: "servnest.test."
template: "servnest"
storage: "/srv/servnest/reg"
- domain: "test.servnest.test."
template: "servnest"
storage: "/srv/servnest/reg"

View file

@ -10,10 +10,6 @@ usermod -aG $knot $servnest # Add user $servnest to group $knot
chown -R $knot: /var/lib/knot/confdb
chmod -R u=rwX,g=rwX,o= /var/lib/knot/confdb
mkdir -p /srv/servnest/reg
chown -R $servnest:$knot /srv/servnest/reg
chmod -R u=rwX,g=rwX,o= /srv/servnest/reg
mkdir /srv/servnest/ns
chown -R $servnest:$knot /srv/servnest/ns
chmod -R u=rwX,g=rwX,o= /srv/servnest/ns
mkdir -p /srv/servnest/reg /srv/servnest/ns
chown -R $servnest:$knot /srv/servnest/reg /srv/servnest/ns
chmod -R u=rwX,g=rwX,o= /srv/servnest/reg /srv/servnest/ns

View file

@ -13,7 +13,8 @@ done
# Create translation Machine Objects files
msgfmt /srv/servnest/core/locales/fr/C/LC_MESSAGES/messages.po -o /srv/servnest/core/locales/fr/C/LC_MESSAGES/messages.mo
chown -R $servnest:$nginx /srv/servnest/core
chmod -R u=rX,g=rX,o= /srv/servnest/core
chmod -R u=rX,g=rX,o= $(find /srv/servnest/core -mindepth 1 -maxdepth 1 ! -name .git ! -name db)
chown -R $servnest:$nginx $(find /srv/servnest/core -mindepth 1 -maxdepth 1 ! -name .git ! -name db)
chown -R $servnest: /srv/servnest/core/db
chmod -R u=rwX,g=,o= /srv/servnest/core/db

@ -1 +1 @@
Subproject commit 13bfd8e9bef4814904ef7a642411fa43f4253df4
Subproject commit 25b1d30cbebef6bde5bb26b4de92ef78a29924a6