subakva / haproxy-tools

Ruby tools for HAProxy, including config file management.
MIT License
32 stars 14 forks source link

Added functionality to allow addition of new configs. #11

Closed drewsonne closed 9 years ago

drewsonne commented 9 years ago

I've added functionality to allow adding new configs in at the very least, the default section.

subakva commented 9 years ago

@drewsonne Thanks for the PR. Sorry, it took me so long to merge it.

drewsonne commented 9 years ago

No worries, I'm busy trying to beat treetop and userlists together, but they're not going. Can I ask how do you debug treetop issues when they're deep in the parsing tree?

subakva commented 9 years ago

It's been a while since I've worked on it. There's a HAProxy::Treetop.print_node method to help visualize the tree, but it can be tricky.