Re: Separated config file support

2014-07-24 Thread Michael
Brane F. Gračnar writes: > > On Wednesday 15 of June 2011 21:59:34 Igor wrote: > > Got a very long haproxy.conf, is there any way to separate config file > > by using any directive like include *.conf? > > I wrote a patch for this some time ago, it applies to 1.4.15 and 1.5-dev6, i'm > using i

Re: Separated config file support

2013-03-11 Thread Jonathan Matthews
On 11 March 2013 14:51, Nicolas G wrote: > Willy Tarreau 1wt.eu> writes: >> Not convinced at all because I don't see how it solves all issues. And >> I'm even less convinced it adds any value beyond passing the conf.d as >> "-f" on the command line. > How does HAProxy merge all the files? Does it

Re: Separated config file support

2013-03-11 Thread Nicolas G
Willy Tarreau 1wt.eu> writes: > > On Wed, Jun 15, 2011 at 11:21:57PM +0200, Mike Hoffs wrote: > > Maybe it is possible to add an include conf.d in the main config, and after that part all other config files > will be automaticly included. Something like apache can do ? > > Not convinced at all

Re: Separated config file support

2011-06-16 Thread Brane F. Gračnar
On Wednesday 15 of June 2011 21:59:34 Igor wrote: > Got a very long haproxy.conf, is there any way to separate config file > by using any directive like include *.conf? I wrote a patch for this some time ago, it applies to 1.4.15 and 1.5-dev6, i'm using it in production. http://www.mail-archive.

Re: Separated config file support

2011-06-15 Thread Willy Tarreau
On Wed, Jun 15, 2011 at 11:21:57PM +0200, Mike Hoffs wrote: > Maybe it is possible to add an include conf.d in the main config, and after > that part all other config files will be automaticly included. Something like > apache can do ? Not convinced at all because I don't see how it solves all i

Re: Separated config file support

2011-06-15 Thread Willy Tarreau
On Wed, Jun 15, 2011 at 11:21:57PM +0200, Mike Hoffs wrote: > Maybe it is possible to add an include conf.d in the main config, and after > that part all other config files will be automaticly included. Something like > apache can do ? As I explained in another thread, includes are really nasty

RE: Separated config file support

2011-06-15 Thread Mike Hoffs
tijdens kantoor uren (09:00 - 17:00) Mail: m.ho...@mijn-sleutel.com Website: http://www.mijn-sleutel.com -Oorspronkelijk bericht- Van: Willy Tarreau [mailto:w...@1wt.eu] Verzonden: woensdag 15 juni 2011 22:08 Aan: Harvey Yau CC: haproxy@formilux.org Onderwerp: Re: Separated config file support

Re: Separated config file support

2011-06-15 Thread Willy Tarreau
On Wed, Jun 15, 2011 at 04:02:09PM -0400, Harvey Yau wrote: > On 6/15/11 3:59 PM, Igor wrote: > >Got a very long haproxy.conf, is there any way to separate config file > >by using any directive like include *.conf? > > > >Bests, > >-Igor > > > A config directory would be nice as well. Would make i

Re: Separated config file support

2011-06-15 Thread Harvey Yau
On 6/15/11 3:59 PM, Igor wrote: Got a very long haproxy.conf, is there any way to separate config file by using any directive like include *.conf? Bests, -Igor A config directory would be nice as well. Would make it nice and easy to rsync config files around as well - pretty nice. -- Harvey

Separated config file support

2011-06-15 Thread Igor
Got a very long haproxy.conf, is there any way to separate config file by using any directive like include *.conf? Bests, -Igor