Consul templates
Running consul:
consul agent -dev -advertise=10.212.5.37 -node "tlbdk" -config-dir ./
test.json:
{"service": {"name": "web", "tags": ["rails"], "port": 80}}
consul-template -consul 127.0.0.1:8500 -template "nginx.ctmpl:nginx.conf"