]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Beter default value (saying "it depends") in generated docs for settings
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 11 Dec 2023 08:07:00 +0000 (09:07 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 18 Dec 2023 08:28:32 +0000 (09:28 +0100)
that are determined by distribution packaging.

(cherry picked from commit c1714f3884ffc31428e06b880cb1f427a4ae3050)

.github/actions/spell-check/expect.txt
pdns/recursordist/settings/table.py

index b5083a386db0492cf66d33e513ff43be071b9c83..0465e6d06b0d3e839cc83c25edcd0dd276467478 100644 (file)
@@ -872,6 +872,8 @@ noaction
 noad
 noall
 nocookie
+NODCACHEDIRNOD
+NODCACHEDIRUDR
 noedns
 noerrors
 NOLOCK
index 2a79096cd47f8b025c195343a481921b58e56ec0..f9a292fb390e6d8a17772e1cd30ed1fe53cb7938 100644 (file)
@@ -393,6 +393,7 @@ EMPTY?  '''
         'section' : 'recursor',
         'type' : LType.String,
         'default' : 'SYSCONFDIR',
+        'docdefault': 'Determined by distribution',
         'help' : 'Location of configuration directory (recursor.conf or recursor.yml)',
         'doc' : '''
 Location of configuration directory (where ``recursor.conf`` or ``recursor.yml`` is stored).
@@ -1716,6 +1717,7 @@ have no effect unless you remove the existing files.
         'oldname' : 'new-domain-history-dir',
         'type' : LType.String,
         'default' : 'NODCACHEDIRNOD',
+        'docdefault': 'Determined by distribution',
         'help' : 'Persist new domain tracking data here to persist between restarts',
         'doc' : '''
 This setting controls which directory is used to store the on-disk
@@ -2358,7 +2360,7 @@ Where to store the control socket and pidfile.
 The default depends on ``LOCALSTATEDIR`` or the ``--with-socketdir`` setting when building (usually ``/var/run`` or ``/run``).
 
 When using :ref:`setting-chroot` the default becomes ``/``.
-Defaults to the ``RUNTIME_DIRECTORY`` environment variable when that variable has a value (e.g. under systemd).
+The default value is overruled by the ``RUNTIME_DIRECTORY`` environment variable when that variable has a value (e.g. under systemd).
  ''',
     },
     {
@@ -2822,6 +2824,7 @@ have no effect unless you remove the existing files.
         'section' : 'nod',
         'type' : LType.String,
         'default' : 'NODCACHEDIRUDR',
+        'docdefault': 'Determined by distribution',
         'help' : 'Persist unique response tracking data here to persist between restarts',
         'doc' : '''
 This setting controls which directory is used to store the on-disk