consul-template

Template rendering and notifications with Consul data

brewmacoslinux
Try with needOr install directly
Source

About

Generic template rendering and notifications with Consul

Commands

consul-template

Examples

Render a template using Consul data and watch for changes$ consul-template -template /etc/consul-template/app.tpl:/etc/app/config.conf -consul-addr localhost:8500
Render template once and exit without watching$ consul-template -template /etc/consul-template/nginx.tpl:/etc/nginx/nginx.conf -once
Use custom Consul token and specify command to run after rendering$ consul-template -template /etc/consul-template/app.tpl:/etc/app/config.conf -exec 'systemctl restart app' -consul-addr consul.example.com:8500 -token abc123