consul/website/source/docs
Frank Schröder 874e350b2f config: add -config-format option (#3626)
* config: refactor ReadPath(s) methods without side-effects

Return the sources instead of modifying the state.

* config: clean data dir before every test

* config: add tests for config-file and config-dir

* config: add -config-format option

Starting with Consul 1.0 all config files must have a '.json' or '.hcl'
extension to make it unambigous how the data should be parsed. Some
automation tools generate temporary files by appending a random string
to the generated file which obfuscates the extension and prevents the
file type detection.

This patch adds a -config-format option which can be used to override
the auto-detection behavior by forcing all config files or all files
within a config directory independent of their extension to be
interpreted as of this format.

Fixes #3620
2017-10-31 17:30:01 -05:00
..
agent config: add -config-format option (#3626) 2017-10-31 17:30:01 -05:00
commands Updates documentation for consul validate. 2017-10-19 18:59:05 -07:00
enterprise Adds documentation for Sentinel integration in Consul Enterprise. 2017-09-19 09:02:53 -05:00
guides Update autopilot documentation to mention correct Consul version that defaults raft protocol to 3. 2017-10-19 11:31:29 -05:00
install Rename sidebar link items 2017-04-04 12:40:53 -04:00
internals Adds a note about not replicating data to FAQ and federation-related spots. 2017-08-04 16:14:39 -07:00
compatibility.html.md Update compatibility.html.md 2017-10-09 14:18:37 -07:00
faq.html.md doc: drop last references to -retry-join-* options 2017-10-04 19:12:28 +02:00
index.html.md website: rename *.markdown to *.md 2017-05-17 20:25:45 +02:00
upgrade-specific.html.md Adds a note about the Raft protocol not being the same as the Consul protocol. 2017-10-13 16:54:48 -07:00
upgrading.html.md website: rename *.markdown to *.md 2017-05-17 20:25:45 +02:00