Skip to content

Commit c888d0b

Browse files
committed
Add docs for %(host_node_name)s in include=. Refs #737
1 parent 93c3e70 commit c888d0b

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
3.3.0 (Next 3.x Release)
22
------------------------
33

4+
- Glob patterns in the ``include`` section now support the ``host_node_name``
5+
expansion. Patch by Paul Lockaby.
6+
47
- Files included via the ``[include]`` section are now logged at the ``INFO``
58
level instead of ``WARN``. Patch by Daniel Hahler.
69

docs/configuration.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,15 +1099,19 @@ configuration.
10991099
includes it. A "glob" is a file pattern which matches a specified
11001100
pattern according to the rules used by the Unix shell. No tilde
11011101
expansion is done, but ``*``, ``?``, and character ranges expressed
1102-
with ``[]`` will be correctly matched. Recursive includes from
1103-
included files are not supported.
1102+
with ``[]`` will be correctly matched. The string expression is
1103+
evaluated against a dictionary that includes ``host_node_name``
1104+
and ``here`` (the directory of the supervisord config file). Recursive
1105+
includes from included files are not supported.
11041106

11051107
*Default*: No default (required)
11061108

11071109
*Required*: Yes.
11081110

11091111
*Introduced*: 3.0
11101112

1113+
*Changed*: 3.3.0. Added support for the ``host_node_name`` expansion.
1114+
11111115
``[include]`` Section Example
11121116
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11131117

0 commit comments

Comments
 (0)