Skip to content

Commit

Permalink
Add docs for %(host_node_name)s in include=. Refs #737
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaberez committed May 10, 2016
1 parent 93c3e70 commit c888d0b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
3.3.0 (Next 3.x Release)
------------------------

- Glob patterns in the ``include`` section now support the ``host_node_name``
expansion. Patch by Paul Lockaby.

- Files included via the ``[include]`` section are now logged at the ``INFO``
level instead of ``WARN``. Patch by Daniel Hahler.

Expand Down
8 changes: 6 additions & 2 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1099,15 +1099,19 @@ configuration.
includes it. A "glob" is a file pattern which matches a specified
pattern according to the rules used by the Unix shell. No tilde
expansion is done, but ``*``, ``?``, and character ranges expressed
with ``[]`` will be correctly matched. Recursive includes from
included files are not supported.
with ``[]`` will be correctly matched. The string expression is
evaluated against a dictionary that includes ``host_node_name``
and ``here`` (the directory of the supervisord config file). Recursive
includes from included files are not supported.

*Default*: No default (required)

*Required*: Yes.

*Introduced*: 3.0

*Changed*: 3.3.0. Added support for the ``host_node_name`` expansion.

``[include]`` Section Example
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit c888d0b

Please sign in to comment.