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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Thomas Gambier
slapos
Commits
097b2af7
Commit
097b2af7
authored
Mar 23, 2020
by
Bryton Lacquement
🚪
Committed by
Thomas Gambier
Jul 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
powerdns: target Python 3
parent
c943d15f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
5 deletions
+8
-5
software/powerdns/buildout.hash.cfg
software/powerdns/buildout.hash.cfg
+1
-1
software/powerdns/instance-powerdns-replicate.cfg.jinja2
software/powerdns/instance-powerdns-replicate.cfg.jinja2
+3
-3
software/powerdns/software.cfg
software/powerdns/software.cfg
+3
-0
software/slapos-sr-testing/software-py3.cfg
software/slapos-sr-testing/software-py3.cfg
+1
-0
software/slapos-sr-testing/software.cfg
software/slapos-sr-testing/software.cfg
+0
-1
No files found.
software/powerdns/buildout.hash.cfg
View file @
097b2af7
...
@@ -26,7 +26,7 @@ md5sum = 7934b7037344678eff3031e1e73e0bb2
...
@@ -26,7 +26,7 @@ md5sum = 7934b7037344678eff3031e1e73e0bb2
[template-dns-replicate]
[template-dns-replicate]
_update_hash_filename_ = instance-powerdns-replicate.cfg.jinja2
_update_hash_filename_ = instance-powerdns-replicate.cfg.jinja2
md5sum =
46acd4ed071df8d7139dcd0434be42eb
md5sum =
670bac1a8463e08814db82a81ddae1bf
[iso-list]
[iso-list]
_update_hash_filename_ = template/zz.countries.nexedi.dk.rbldnsd
_update_hash_filename_ = template/zz.countries.nexedi.dk.rbldnsd
...
...
software/powerdns/instance-powerdns-replicate.cfg.jinja2
View file @
097b2af7
...
@@ -60,7 +60,7 @@ context =
...
@@ -60,7 +60,7 @@ context =
<= replicate
<= replicate
name = {{dns_name}}
name = {{dns_name}}
{% set state_key = "-dns-%s-state" % i %}
{% set state_key = "-dns-%s-state" % i %}
{% if s
lapparameter_dict.has_key(state_key)
%}
{% if s
tate_key in slapparameter_dict
%}
state = {{ slapparameter_dict.pop(state_key) }}
state = {{ slapparameter_dict.pop(state_key) }}
{% endif%}
{% endif%}
config-zone = {{ zone }}
config-zone = {{ zone }}
...
@@ -95,7 +95,7 @@ monitor-url-list +=
...
@@ -95,7 +95,7 @@ monitor-url-list +=
<= slap-connection
<= slap-connection
recipe = slapos.cookbook:requestoptional
recipe = slapos.cookbook:requestoptional
{% set dns_software_url_key = "-dns-software-release-url" %}
{% set dns_software_url_key = "-dns-software-release-url" %}
{% if
slapparameter_dict.has_key(dns_software_url_key)
%}
{% if
dns_software_url_key in slapparameter_dict
%}
software-url = {{ slapparameter_dict.pop(dns_software_url_key) }}
software-url = {{ slapparameter_dict.pop(dns_software_url_key) }}
{% else %}
{% else %}
software-url = ${slap-connection:software-release-url}
software-url = ${slap-connection:software-release-url}
...
@@ -104,7 +104,7 @@ software-type = {{dns_type}}
...
@@ -104,7 +104,7 @@ software-type = {{dns_type}}
return = private-ipv4 public-ipv4 slave-instance-information-list monitor-base-url
return = private-ipv4 public-ipv4 slave-instance-information-list monitor-base-url
config-server-admin = {{ server_admin }}
config-server-admin = {{ server_admin }}
config-ns-record = {{ ns_record }}
config-ns-record = {{ ns_record }}
{% for parameter, value in slapparameter_dict.ite
rite
ms() -%}
{% for parameter, value in slapparameter_dict.items() -%}
config-{{parameter}} = {{ value }}
config-{{parameter}} = {{ value }}
{% endfor -%}
{% endfor -%}
config-{{ slave_list_name }} = {{ json_module.dumps(slave_instance_list) }}
config-{{ slave_list_name }} = {{ json_module.dumps(slave_instance_list) }}
...
...
software/powerdns/software.cfg
View file @
097b2af7
...
@@ -10,6 +10,9 @@ parts =
...
@@ -10,6 +10,9 @@ parts =
slapos-cookbook
slapos-cookbook
eggs
eggs
[python]
part = python3
[gcc]
[gcc]
# For old version of PowerDNS and Ragel.
# For old version of PowerDNS and Ragel.
part = gcc-5.5
part = gcc-5.5
...
...
software/slapos-sr-testing/software-py3.cfg
View file @
097b2af7
...
@@ -13,3 +13,4 @@ eggs -=
...
@@ -13,3 +13,4 @@ eggs -=
[template]
[template]
extra =
extra =
${slapos.test.monitor-setup:setup}
${slapos.test.monitor-setup:setup}
${slapos.test.powerdns-setup:setup}
software/slapos-sr-testing/software.cfg
View file @
097b2af7
...
@@ -249,7 +249,6 @@ extra =
...
@@ -249,7 +249,6 @@ extra =
${slapos.test.htmlvalidatorserver-setup:setup}
${slapos.test.htmlvalidatorserver-setup:setup}
${slapos.test.slapos-master-setup:setup}
${slapos.test.slapos-master-setup:setup}
${slapos.test.plantuml-setup:setup}
${slapos.test.plantuml-setup:setup}
${slapos.test.powerdns-setup:setup}
${slapos.test.proftpd-setup:setup}
${slapos.test.proftpd-setup:setup}
${slapos.test.re6stnet-setup:setup}
${slapos.test.re6stnet-setup:setup}
${slapos.test.seleniumserver-setup:setup}
${slapos.test.seleniumserver-setup:setup}
...
...
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