]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
make pdnsconfdist test POSIXLY_CORRECT and update pdns.conf-dist 3049/head
authorKees Monshouwer <mind04@monshouwer.org>
Wed, 16 Dec 2015 13:37:19 +0000 (14:37 +0100)
committermind04 <mind04@monshouwer.org>
Wed, 16 Dec 2015 13:41:07 +0000 (14:41 +0100)
pdns/pdns.conf-dist
regression-tests.nobackend/pdnsconfdist/.gitignore [new file with mode: 0644]
regression-tests.nobackend/pdnsconfdist/command

index d1b7d2a2aaf3e53156a4d20525ea1ec0c1bdb2af..2a94a305bcd119d4f2cfe225ba555e39cd80542d 100644 (file)
 # any-to-tcp=no
 
 #################################
-# api-key      REST API Static authentication key (required for API use)
+# api  Enable/disable the REST API
+#
+# api=no
+
+#################################
+# api-key      Static pre-shared authentication key for access to the REST API
 #
 # api-key=
 
 #################################
-# api-logfile  Filename of the log file for JSON parser
+# api-logfile  Location of the server logfile (used by the REST API)
 #
 # api-logfile=/var/log/pdns.log
 
 #################################
-# api-readonly If the JSON API should disallow data modification
+# api-readonly Disallow data modification through the REST API when set
 #
 # api-readonly=no
 
 #
 # include-dir=
 
-#################################
-# json-interface       If the webserver should serve JSON data
-#
-# json-interface=no
-
 #################################
 # launch       Which backends to launch and order to query them in
 #
diff --git a/regression-tests.nobackend/pdnsconfdist/.gitignore b/regression-tests.nobackend/pdnsconfdist/.gitignore
new file mode 100644 (file)
index 0000000..298010b
--- /dev/null
@@ -0,0 +1 @@
+pdns.conf-dist.out
index df122a5d1d9f42747a0e5aad6d6cd57882a4b0f4..21965410e8c670cebd9a00dc923cd27e6f4d1e58 100755 (executable)
@@ -1,3 +1,4 @@
 #!/usr/bin/env bash
 
-diff -u ../pdns/pdns.conf-dist <($PDNS --config)
+$PDNS --config > pdnsconfdist/pdns.conf-dist.out
+diff -u ../pdns/pdns.conf-dist ./pdnsconfdist/pdns.conf-dist.out