Migrating from httpd reverse proxy to haproxy

Hi
Wandering if anyone has migrated from httpd reverse proxy to haproxy, and could share ways that can be done, besides retyping config file manually.

Also is anyone managing haproxy config via puppet and how do you deal with long config files.

Thank you