Commit 8a9addc7 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner

[2133] Provide reasonable default for data_sources

Include the default sqlite3 database as well. This is easier than
documenting everything and it would just work.
parent 0050740b
......@@ -3,7 +3,7 @@ SUBDIRS = tests
EXTRA_DIST = README logging.spec tsig_keys.spec
datasrc.spec: datasrc.spec.pre
$(SED) -e "s|@@PKGDATADIR@@|$(pkgdatadir)|" datasrc.spec.pre >$@
$(SED) -e "s|@@PKGDATADIR@@|$(pkgdatadir)|;s|@@LOCALSTATEDIR@@|$(localstatedir)|" datasrc.spec.pre >$@
config_plugindir = @prefix@/share/@PACKAGE@/config_plugins
config_plugin_DATA = logging.spec tsig_keys.spec datasrc.spec
......
......@@ -8,6 +8,14 @@
"item_type": "named_set",
"item_optional": false,
"item_default": {
"IN": [
{
"type": "sqlite3",
"params": {
"database_file": "@@LOCALSTATEDIR@@/@PACKAGE@/zone.sqlite3"
}
}
],
"CH": [
{
"type": "static",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment