Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555864 - net-proxy/haproxy Allow additional command line options
Summary: net-proxy/haproxy Allow additional command line options
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Christian Ruppert (idl0r)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-25 12:54 UTC by Marcel Pennewiß
Modified: 2015-10-16 20:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
conf.d file (haproxy.confd,119 bytes, text/plain)
2015-07-25 12:54 UTC, Marcel Pennewiß
Details
adapted init script (haproxy.initd-r3,1.12 KB, text/plain)
2015-07-25 12:56 UTC, Marcel Pennewiß
Details
patch for current ebuild (haproxy-1.5.14.ebuild.patch,380 bytes, patch)
2015-07-25 12:56 UTC, Marcel Pennewiß
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Pennewiß 2015-07-25 12:54:06 UTC
Haproxy is able to load multiple configurations. This could be nice feature using a default configuration for all servers in a cluster and an additional one on each node which is host-specific (e.g. -c haproxy.cfg -c node1.cfg).

Haproxy init script should be able to load configuration from conf.d to achieve this.

Reproducible: Always
Comment 1 Marcel Pennewiß 2015-07-25 12:54:33 UTC
Created attachment 407588 [details]
conf.d file
Comment 2 Marcel Pennewiß 2015-07-25 12:56:10 UTC
Created attachment 407590 [details]
adapted init script
Comment 3 Marcel Pennewiß 2015-07-25 12:56:31 UTC
Created attachment 407592 [details, diff]
patch for current ebuild
Comment 4 Marcel Pennewiß 2015-07-25 12:57:03 UTC
This patches are just an enhancement and did not break any compatibility.
Comment 5 Christian Ruppert (idl0r) gentoo-dev 2015-10-16 20:10:55 UTC
The init script of HAProxy 1.6.0 has been extended to allow the use of multiple config files. Thanks!