forked from glarizza/puppet-haproxy
-
Notifications
You must be signed in to change notification settings - Fork 268
Open
Description
Describe the Bug
lua-prepend-path 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, breaking this badly.
Expected Behavior
Don't sort alphabetically.
Steps to Reproduce
'lua-prepend-path' => [
'/usr/share/haproxy/?/init.lua',
'/usr/share/haproxy/?.lua',
'/etc/haproxy/lua/?/init.lua',
'/etc/haproxy/lua/?.lua',
],
'lua-load' => '/your/script/that/needs/a/lib/from/those/paths',
put that in global_options and see haproxy fail to load the lua script.
Metadata
Metadata
Assignees
Labels
No labels