Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change default for SQLite 3 database backend #220

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ in the location specified by the `database_name` variable.
roles:
- { role: PowerDNS.pdns }
vars:
database_name: '/var/lib/powerdns/db.sqlite'
database_name: '/var/lib/powerdns/pdns.sqlite3'
pdns_config:
master: true
slave: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_package(host):


def test_database_exists(host):
f = host.file('/var/lib/powerdns/pdns.db')
f = host.file('/var/lib/powerdns/pdns.sqlite3')
user = 'pdns'
if host.system_info.distribution.lower() in archlinux_os:
user = 'powerdns'
Expand Down
4 changes: 2 additions & 2 deletions molecule/resources/vars/pdns-backends.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

pdns_backends:
gsqlite3:
database: /var/lib/powerdns/pdns.db
database: /var/lib/powerdns/pdns.sqlite3
dnssec: yes
gmysql:
host: "mysql" # This is relying on Docker's service discovery
Expand All @@ -15,7 +15,7 @@ pdns_backends:
password: pdns

pdns_sqlite_databases_locations:
- '/var/lib/powerdns/pdns.db'
- '/var/lib/powerdns/pdns.sqlite3'

pdns_mysql_databases_credentials:
gmysql:
Expand Down