Regarding the master CLI:
On Thu, Jan 09, 2020 at 02:31:19PM +0000, William Dauchy wrote:
> that's a good subject to talk about. While looking at this I also
> wondered why it was not possible to configure it in the config file; to my
> knowledge there is no explanation about it in the doc, nor in the code,
> but I might have missed something.
> I did not know about those concerns around being able to access CLI even
> if the config file is corrupted, thanks for the clarification.
>
In fact it's supposed to be configured in your unit file or from your init
script (/etc/{default,sysconfig} etc.).
The problem is that the configuration for HAProxy and for the processes are in
the same configuration file, and if something is wrong, it won't work anymore.
And the master is supposed to survive a reload with a wrong configuration.
> That being said, it makes my patch less likely to be acceptable, but I
> still confirm the user point of view where:
> - you don't get why you cannot configure the master CLI in the
> configuration file; that's probably a point to address in the doc,
> since the configuration doc mentioned the master cli, but you find how
> to set it up in the management doc.
Hm you are right, I think it needs some more doc about the master process in
general.
Thanks!
--
William Lallemand