consul/website/source/docs/agent
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
..
basics.html.md agent: notify systemd after JoinLAN (#2121) 2017-06-21 06:43:55 +02:00
checks.html.md Fixed indentation in Script + Interval 2017-10-20 14:02:31 +02:00
dns.html.md Update docs to include support for TXT records 2017-09-28 12:32:42 +02:00
encryption.html.md Fixes a broken link. 2017-07-17 00:07:34 -07:00
options.html.md config: add -config-format option (#3626) 2017-10-31 17:30:01 -05:00
rpc.html.md website: rename *.markdown to *.md 2017-05-17 20:25:45 +02:00
services.html.md config: add generic method to translate between CamelCase and snake_case (#3557) 2017-10-10 16:40:59 -07:00
telemetry.html.md Move http request metric to the agent section 2017-10-04 17:36:10 -07:00
watches.html.md Tweaks watch docs. 2017-10-21 20:09:37 -07:00