update the makefile and template a bit

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>
write the haproxy config file

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>