forked from glarizza/puppet-haproxy
-
Notifications
You must be signed in to change notification settings - Fork 267
Open
Description
Describe the Bug
tune.lua.bool-sample-conversion in global settings needs to be listed before lua-load, otherwise it won't be used while loading the lua script.
The puppet module sorts the options alphabetically, resulting in the following warnings:
[WARNING] (42229) : config : hlua: please set "tune.lua.bool-sample-conversion" tunable to either "normal" or "pre-3.1-bug" explicitly to avoid ambiguities. This must be set before any "lua-load" or "lua-load-per-thread" directive. Defaulting to "pre-3.1-bug".
[WARNING] (42229) : config : parsing [/etc/haproxy/haproxy.cfg:25] : ignored as some Lua was loaded already. "tune.lua.bool-sample-conversion" must be set before any "lua-load" or "lua-load-per-thread" directive for it to be considered.
Applies to haproxy >= 3.1
Expected Behavior
As the order of global options in haproxy is important the module should allow ordered input.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels