Re: #include?

From: Krzysztof Oledzki <ole#ans.pl>
Date: Fri, 30 May 2008 00:10:23 +0200 (CEST)

On Thu, 29 May 2008, Dan Zubey wrote:

> Willy, would it be possible to add the directive 'include' to have the
> pre-processor include another config file from the local filesystem?
> i.e.,
>
> option include /etc/haproxy/backend.conf

Not yet. BTW: this "option" is IMHO misused here.

> It would help immensely to make things more readable for my coworkers :)
>
> I know I could write a pre-preprocessor to make a config file, just wondering
> if we could have it in haproxy.

It is on my TODO list, unfortunately it has a very low priority as my configs are automatically generated so I have nearly no motivation to pick it up.

So, if you really need this functionality you may try to code it yourself or find someone to do it. Or maybe someone else is working on this feature?

Best regards,

                                 Krzysztof Olędzki Received on 2008/05/30 00:10

This archive was generated by hypermail 2.2.0 : 2008/05/30 00:15 CEST