Re: haproxy include config

2009-07-09 Thread Willy Tarreau
Hi Holger, On Thu, Jul 09, 2009 at 11:12:09PM +0200, Holger Just wrote: > Would it be difficult to extent your patch to load all files > (potentially named *.cfg or something like that) in a directory? You > could check each argument if it's a file or a directory and include its > containing files

Re: haproxy include config

2009-07-09 Thread Holger Just
On 09.07.2009 7:15 Uhr, Willy Tarreau wrote: > As I said in earlier mail, I have implemented the "multiple file" loading > in 1.4-dev : > > > http://haproxy.1wt.eu/git?p=haproxy.git;a=commit;h=5d01a63b7862235fdd3119cb29d5a0cfd04edb91 > > If many people are interested, I know it will be quite e

Re: haproxy include config

2009-07-09 Thread Craig
Hi, The code is available at: [...] If many people are interested, I know it will be quite easy to backport it to 1.3, and I can merge it into 1.3.19 once I have a few other things to put with it. What's your opinion ? I'd like to see it backported. Best regards, Craig

Re: haproxy include config

2009-07-08 Thread Willy Tarreau
Hi Joe, On Wed, Jul 08, 2009 at 10:08:36PM -0700, Joe Williams wrote: > Holger's config utility inspired me to write my own that fit my needs > a bit better. It's called haproxy_join and basically does the job of > combining configs for you, creates a backup of the old config and etc. > > The cod

Re: haproxy include config

2009-07-08 Thread Joe Williams
Holger's config utility inspired me to write my own that fit my needs a bit better. It's called haproxy_join and basically does the job of combining configs for you, creates a backup of the old config and etc. The code is available at: http://github.com/joewilliams/haproxy_join/tree/master And t

Re: haproxy include config

2009-06-25 Thread Willy Tarreau
On Tue, Jun 16, 2009 at 06:43:56AM +0200, Timh Bergström wrote: > 2009/6/15 Holger Just : > > > > So, after checking with my chief about opensourcing our stuff I can > > finally conclude: Yes we can! :) > > > > You can find the script at http://github.com/finnlabs/haproxy/tree/master > > > > --Holg

Re: haproxy include config

2009-06-15 Thread Timh Bergström
2009/6/15 Holger Just : > > So, after checking with my chief about opensourcing our stuff I can > finally conclude: Yes we can! :) > > You can find the script at http://github.com/finnlabs/haproxy/tree/master > > --Holger > > Nice, that looks interesting! I'll tell you if I ever put it into produc

Re: haproxy include config

2009-06-15 Thread L. Alberto Giménez
Holger Just wrote: > So, after checking with my chief about opensourcing our stuff I can > finally conclude: Yes we can! :) > > You can find the script at http://github.com/finnlabs/haproxy/tree/master Holger, I don't think I'm going to use your script (mainly because my setup is quite simple to

Re: haproxy include config

2009-06-15 Thread Holger Just
On 15.06.2009 6:36 Uhr, Timh Bergström wrote: > Hello Holger, > > If nothing else, I would be interested in this script. > > Cheers, > Timh So, after checking with my chief about opensourcing our stuff I can finally conclude: Yes we can! :) You can find the script at http://github.com/finnlabs/

Re: haproxy include config

2009-06-14 Thread Timh Bergström
Hello Holger, If nothing else, I would be interested in this script. Cheers, Timh 2009/6/12 Holger Just : > On 12.06.2009 23:08 Uhr, Joe Williams wrote: >> I looked through the docs but didn't see anything. Is it possible to >> include config files from the main config file? So you could do >> s

Re: haproxy include config

2009-06-12 Thread Holger Just
On 12.06.2009 23:08 Uhr, Joe Williams wrote: > I looked through the docs but didn't see anything. Is it possible to > include config files from the main config file? So you could do > something similar to a vhosts.d directory in Apache or Nginx. Hello Joe! Unfortunately, this is not supported by