consul/website/source
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
..
api Fixes API client for ScriptArgs and updates documentation. (#3589) 2017-10-18 11:28:39 -07:00
assets add enterprise badge style alert boxes, change guides/areas.html.md to erb file 2017-06-04 01:30:21 -04:00
docs config: add -config-format option (#3626) 2017-10-31 17:30:01 -05:00
intro Adds new config to make script checks opt-in, updates documentation. (#3284) 2017-07-17 11:20:35 -07:00
layouts Adds documentation for Sentinel integration in Consul Enterprise. 2017-09-19 09:02:53 -05:00
.gitignore website: bulk copy from serf 2014-02-07 16:41:03 -08:00
404.html.md Tweaks 404 message. 2017-04-14 09:00:59 -07:00
android-manifest.json.erb Move to new branding 2017-03-30 18:46:50 -04:00
community.html.erb Remove people from community section (#3352) 2017-08-02 12:05:45 -07:00
downloads.html.erb Move to new branding 2017-03-30 18:46:50 -04:00
downloads_tools.html.erb Merge pull request #2869 from liozN/master 2017-04-11 23:04:07 -07:00
favicon.ico Move to new branding 2017-03-30 18:46:50 -04:00
index.html.erb Fix homepage css 2017-04-18 12:57:05 -04:00
microsoft-tile.xml.builder Move to new branding 2017-03-30 18:46:50 -04:00
robots.txt Use new Markdown syntaxes and add SEO descriptions 2014-10-19 19:42:13 -04:00
security.html.erb Move to new branding 2017-03-30 18:46:50 -04:00
sitemap.xml.builder Add robots.txt and sitemap 2014-10-19 19:41:12 -04:00