Skip to content

Commit

Permalink
Fix docs build after #33241
Browse files Browse the repository at this point in the history
Recently-merged PR #33241 broke the docs build, and this fixes it.
  • Loading branch information
DaveCTurner committed Aug 30, 2018
1 parent 7020c40 commit 49399b3
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions docs/reference/modules/discovery/zen.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@ startup.

To enable file-based discovery, configure the `file` hosts provider as follows:

```
[source,txt]
----------------------------------------------------------------
discovery.zen.hosts_provider: file
```
----------------------------------------------------------------

Then create a file at `$ES_PATH_CONF/unicast_hosts.txt` in
<<discovery-file-format,the format described below>>. Any time a change is made
to the `unicast_hosts.txt` file the new changes will be picked up by
Elasticsearch and the new hosts list will be used.
Then create a file at `$ES_PATH_CONF/unicast_hosts.txt` in the format described
below. Any time a change is made to the `unicast_hosts.txt` file the new
changes will be picked up by Elasticsearch and the new hosts list will be used.

Note that the file-based discovery plugin augments the unicast hosts list in
`elasticsearch.yml`: if there are valid unicast host entries in
Expand All @@ -86,10 +86,6 @@ The `discovery.zen.ping.unicast.resolve_timeout` setting also applies to DNS
lookups for nodes specified by address via file-based discovery. This is
specified as a <<time-units, time unit>> and defaults to 5s.

[[discovery-file-format]]
[float]
====== unicast_hosts.txt file format

The format of the file is to specify one node entry per line. Each node entry
consists of the host (host name or IP address) and an optional transport port
number. If the port number is specified, is must come immediately after the
Expand Down

0 comments on commit 49399b3

Please sign in to comment.