consul-template
template rendering and notifications with Consul
WWW CVSWeb GITHub-
Package versionconsul-template-0.37.2
-
MaintainerAntoine Jacoutot
This project provides a convenient way to populate values from Consul
into the file system using the consul-template daemon.
The daemon consul-template queries a Consul instance and updates any
number of specified templates on the file system. As an added bonus,
consul-template can optionally run arbitrary commands when the update
process completes.
+-------------------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-------------------------------------------------------------------------------
Multiple instances
==================
By definition consul-template is meant to be ran with multiple instances. The
default `consul_template` uses ${SYSCONFDIR}/consul-template.d/default.conf .
In order to start multiple instances:
# ln -s ${RCDIR}/consul_template ${RCDIR}/consul_template_$NAME
# rcctl set consul_template_$NAME status on
# rcctl set consul_template_$NAME flags \
-config ${SYSCONFDIR}/consul-template.d/$NAME.conf
# rcctl start consul_template_$NAME
Configuration
=============
A default configuration file has been installed into
${SYSCONFDIR}/consul-template.d/default.conf . Please refer to the
the following https://github.com/hashicorp/consul-template#configuration-files
for more information on the configuration syntax.
- lang/go
- archivers/unzip