Update HOSTFILE FORMAT description.

remotes/origin/4.3
Darko Poljak 9 years ago
parent 40c2eeeabd
commit d9d739cd44
  1. 13
      docs/src/man1/cdist.rst

@ -120,10 +120,15 @@ Configure one or more hosts.
HOSTFILE FORMAT HOSTFILE FORMAT
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
HOSTFILE contains hosts per line. HOSTFILE contains hosts per line.
All characters after and including '#' until the end of line is a comment All characters after and including '#' until the end of line is a comment.
and is stripped away. In a line, all leading and trailing whitespace characters are ignored.
Empty lines and comment lines (line that starts with '#') are skipped. Empty lines are ignored/skipped.
Hostfile line is processed like the following. First, all comments are
removed. Then all leading and trailing whitespace characters are stripped.
If such a line results in empty line it is ignored/skipped. Otherwise,
host string is used.
SHELL SHELL

Loading…
Cancel
Save