The sysutils/consul-template port

consul-template-0.25.0p0 – template rendering and notifications with Consul (source)

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

$OpenBSD: README,v 1.2 2018/09/04 12:46:22 espie Exp $

+-------------------------------------------------------------------------------
| 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 arm64 armv7 i386

Categories

lang/go net sysutils

Build dependencies

Test dependencies

Files

Search
File Descr
Path Name
Category Maintainer