Skip to content

Commit

Permalink
ci: fix pdns-os-repos tests
Browse files Browse the repository at this point in the history
  • Loading branch information
romeroalx committed Apr 12, 2024
1 parent 90faa40 commit e9be99d
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 6 deletions.
2 changes: 1 addition & 1 deletion molecule/resources/Dockerfile.debian-systemd.j2
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ VOLUME [ "/sys/fs/cgroup" ]

CMD ["/sbin/init"]

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get upgrade -y && apt-get install -y python python3 sudo bash net-tools ca-certificates && apt-get clean; fi
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get upgrade -y && apt-get install -y python3 sudo bash net-tools ca-certificates && apt-get clean; fi
3 changes: 3 additions & 0 deletions molecule/resources/host_vars/debian-10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@

ansible_python_interpreter: "/usr/bin/python3"

# pdns-os-repos: debian-10 installs auth 4.1.6
_pdns_config_legacy:
master: true
5 changes: 5 additions & 0 deletions molecule/resources/host_vars/debian-11.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---

# pdns-os-repos: debian-11 installs auth 4.4.1
_pdns_config_legacy:
master: true
4 changes: 4 additions & 0 deletions molecule/resources/host_vars/ubuntu-2004.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---

ansible_python_interpreter: "/usr/bin/python3"

# pdns-os-repos: ubuntu-20.04 installs auth 4.4.1
_pdns_config_legacy:
master: true
11 changes: 7 additions & 4 deletions molecule/resources/vars/pdns-os-repos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
# PowerDNS Configuration
##

pdns_config:

# Turns on master operations
primary: true
_pdns_config_base:

# Listen Address
local-address: "127.0.0.1"
Expand All @@ -22,5 +19,11 @@ pdns_config:
webserver-address: "0.0.0.0"
webserver-port: "8001"

# Turns on master operations
_pdns_config_primary:
primary: true

pdns_config: "{{ _pdns_config_base | combine(_pdns_config_legacy | default(_pdns_config_primary), recursive=True) }}"

pdns_service_overrides:
LimitCORE: infinity
1 change: 0 additions & 1 deletion vars/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ default_pdns_debug_symbols_package_name: "pdns-server-dbg"
# Packages needed to install MySQL
pdns_mysql_packages:
- default-mysql-client
- python-mysqldb
- python3-mysqldb

# List of PowerDNS Authoritative Server Backends packages on Debian
Expand Down

0 comments on commit e9be99d

Please sign in to comment.