Home

The sysutils/consul-template port

consul-template-0.37.4 – template rendering and notifications with Consul (cvsweb github mirror)

Description

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.
WWW: https://www.consul.io/

Readme

+-------------------------------------------------------------------------------
| 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.

Maintainer

Antoine Jacoutot

Only for arches

aarch64 amd64 arm armv7 i386 mips64 riscv64

Categories

lang/go net sysutils

Build dependencies

Test dependencies

Files

Search