Skip to content

consul job from consul/23.0.0

Github source: c2b0ed8c or master branch

Properties

consul

agent_config

override hash for the consul agent.json configuration

client_addr

The IP to use for client communication

default_recursor

DNS recursor to use if BOSH not providing DNS

Default
8.8.8.8

domain

All DNS queries for this domain will be handled by consul.

Default
consul

encrypt

A key to encrypt the traffic between the consul agents (use consul keygen)

leave_on_terminate

If enabled, gracefully leave the cluster when the process shuts down.

Default
false

resolvconf_override

Force the host to use only the local consul agent for dns.

Default
false

server

Should the agent run in server or client mode

Default
true

services

a map of service configurations, keyed by service name

ssl_ca

The content of the ca file

ssl_cert

The content of the cert file

ssl_key

The content of the key file

user

User that consul is ran under

Default
vcap

verify_incoming

Should requests coming in to the consul servers be verified

Default
true

networks

apps

Deployment’s internal name for the network interface to discover own IP

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/consul/ directory (learn more).

  • bin/consul_ctl (from bin/consul_ctl)
  • bin/monit_debugger (from bin/monit_debugger)
  • consul/agent.json (from consul/agent.json.erb)
  • consul/ca.cert (from consul/ca.cert.erb)
  • consul/consul.cert (from consul/consul.cert.erb)
  • consul/consul.key (from consul/consul.key.erb)
  • data/properties.sh (from data/properties.sh.erb)
  • helpers/ctl_setup.sh (from helpers/ctl_setup.sh)
  • helpers/ctl_utils.sh (from helpers/ctl_utils.sh)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.