Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
slapos
Commits
97b8d884
Commit
97b8d884
authored
Oct 01, 2024
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/mail-server: use automated_local_dns URL for local DNS slaves
parent
9dddee53
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
software/mail-server/buildout.hash.cfg
software/mail-server/buildout.hash.cfg
+1
-1
software/mail-server/instance-default-input-schema.json
software/mail-server/instance-default-input-schema.json
+5
-5
software/mail-server/instance-default.cfg.in
software/mail-server/instance-default.cfg.in
+3
-3
No files found.
software/mail-server/buildout.hash.cfg
View file @
97b8d884
...
...
@@ -19,7 +19,7 @@ md5sum = 403a4a362b2ffec05f8d0b591bab92fa
[template-default]
_update_hash_filename_ = instance-default.cfg.in
md5sum =
89a7224c3dd9356bf262100816b67f73
md5sum =
73c1fe98a12465369450cb8f3340881b
[dovecot.jinja2.conf]
_update_hash_filename_ = dovecot.jinja2.conf
...
...
software/mail-server/instance-default-input-schema.json
View file @
97b8d884
...
...
@@ -3,11 +3,11 @@
"$schema"
:
"http://json-schema.org/draft-04/schema#"
,
"title"
:
"Input Parameters"
,
"properties"
:
{
"
dns_sr_url
"
:
{
"
default"
:
"
"
,
"
title"
:
"DNS SR URL
"
,
"
description"
:
"URL of the SR running the DNS server
"
,
"
type"
:
"string"
"
request_dns
"
:
{
"
title"
:
"Request DNS
"
,
"
description"
:
"Request local DNS to a core network running on the same node
"
,
"
type"
:
"boolean
"
,
"
default"
:
true
}
}
}
software/mail-server/instance-default.cfg.in
View file @
97b8d884
...
...
@@ -195,7 +195,7 @@ recipe = slapos.cookbook:publish
imap-port = 10143
smtp-port = 10025
imap-smtp-ipv6 = ${slap-configuration:ipv6-random}
{% if slapparameter_dict.get('
dns_sr_url
', '') %}
{% if slapparameter_dict.get('
request_dns
', '') %}
domain = ${request-dns-entry:connection-domain}
{% endif %}
...
...
@@ -216,7 +216,7 @@ config-port = 10025
[request-dns-entry]
name = dns-mail-entry
recipe = slapos.cookbook:request.serialised
software-url =
{{ slapparameter_dict['dns_sr_url'] }}
software-url =
automated_local_dns
software-type = core-network
server-url = {{ slap_connection['server-url'] }}
computer-id = {{ slap_connection['computer-id'] }}
...
...
@@ -302,7 +302,7 @@ parts =
imap-listen-promise
smtp-listen-promise
{{ part_list | join('\n ') }}
{% if slapparameter_dict.get('
dns_sr_url
', '') %}
{% if slapparameter_dict.get('
request_dns
', '') %}
request-dns-entry
{% endif %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment