Closed jvogt closed 7 years ago
Setting ui = true
using Consul v0.6.4 on Linux (debian 8.5) results in the following behavior:
/opt/consul-webui
./var/lib/consul/ui
.As of Consul v0.6.4 (possibly earlier):
-ui - Enables the built-in web UI server and the required HTTP routes. This eliminates the need to maintain the Consul web UI files separately from the binary.
Ideally, setting ui = true
should just add the option to the main config file. Another attribute could trigger whether or not the consumer wants to install the webui as a separate package, and maybe that's the default behavior for now in order to maintain backwards compatibility.
FYI, #315 needs #360 to work as expected.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
The current version of consul only needs
ui = true
for the ui to work (at least on Windows). No separate download required. But ifui_dir
is set in the consul.json config file, visiting the ui results in a 404. Even when it is pointing to a linked location where the ui is actually separately extracted to (as this cookbook's default behavior attempts to do)I couldn't figure out how to override this option in a way that does not print the
ui_dir
line to the consul config.Tried various ways of setting
node['consul']['config']['ui_dir']
tofalse
,nil
,''
, etc.Not sure of best way to correct or I would submit a PR myself.