Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SlapOS Develop
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
Eric Zheng
SlapOS Develop
Commits
32df49b3
Commit
32df49b3
authored
May 06, 2020
by
Bryton Lacquement
🚪
Committed by
Thomas Gambier
Jul 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
powerdns: softwaretype -> switch-softwaretype
parent
214e1399
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
12 deletions
+14
-12
software/powerdns/buildout.hash.cfg
software/powerdns/buildout.hash.cfg
+2
-2
software/powerdns/instance-powerdns-replicate.cfg.jinja2
software/powerdns/instance-powerdns-replicate.cfg.jinja2
+3
-3
software/powerdns/instance.cfg
software/powerdns/instance.cfg
+9
-7
No files found.
software/powerdns/buildout.hash.cfg
View file @
32df49b3
...
...
@@ -14,7 +14,7 @@
# not need these here).
[template]
filename = instance.cfg
md5sum =
863fdbee998fd4f69fe359667768e33c
md5sum =
fddea033e1aa9d6147a1a47bd7cc4b62
[template-powerdns]
filename = instance-powerdns.cfg
...
...
@@ -26,7 +26,7 @@ md5sum = e45d72de87b4adb89c195ba463be4077
[template-dns-replicate]
_update_hash_filename_ = instance-powerdns-replicate.cfg.jinja2
md5sum =
670bac1a8463e08814db82a81ddae1bf
md5sum =
a23e241a236f90ae1afbb5bd5ba0b32d
[iso-list]
_update_hash_filename_ = template/zz.countries.nexedi.dk.rbldnsd
...
...
software/powerdns/instance-powerdns-replicate.cfg.jinja2
View file @
32df49b3
...
...
@@ -151,7 +151,7 @@ key_file = ${slap-connection:key-file}
cert_file = ${slap-connection:cert-file}
[slap-parameter]
slave_instance_list =
-dns-quantity = 1
-dns-type = single-default
{% for k, v in slapparameter_dict.items() -%}
{{ k }} = {{ v }}
{% endfor -%}
{%- endif %}
software/powerdns/instance.cfg
View file @
32df49b3
...
...
@@ -8,10 +8,12 @@ offline = true
[switch-softwaretype]
recipe = slapos.cookbook:softwaretype
default =
$${dynamic-powerdns-replicate:rendered}
single-default =
$${dynamic-template-powerdns:rendered}
recipe = slapos.cookbook:s
witch-s
oftwaretype
default =
dynamic-powerdns-replicate:rendered
single-default =
dynamic-template-powerdns:rendered
# BBB
RootSoftwareInstance = $${:default}
[jinja2-template-base]
recipe = slapos.recipe.template:jinja2
...
...
@@ -21,9 +23,9 @@ context =
import json_module json
key eggs_directory buildout:eggs-directory
key develop_eggs_directory buildout:develop-eggs-directory
key slap_software_type slap-
parameters
:slap-software-type
key slapparameter_dict slap-
parameters
:configuration
key slave_instance_list slap-
parameters
:slave-instance-list
key slap_software_type slap-
configuration
:slap-software-type
key slapparameter_dict slap-
configuration
:configuration
key slave_instance_list slap-
configuration
:slave-instance-list
$${:extra-context}
[dynamic-template-powerdns]
...
...
@@ -45,7 +47,7 @@ extra-context =
raw software_type RootSoftwareInstance-default
raw template_monitor ${monitor2-template:rendered}
[slap-
parameters
]
[slap-
configuration
]
recipe = slapos.cookbook:slapconfiguration
computer = $${slap-connection:computer-id}
partition = $${slap-connection:partition-id}
...
...
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