Skip to content

consul job from consul/18

Github source: 05d86109 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 provising 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)

join_host

Hostname/IP for initial cluster node for other consul servers to join.

join_hosts

Hostnames/IPs representing all initial consul servers. Use this or consul.join_host / consul.size

leave_on_terminate

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

Default
false

server

Should the agent run in server or client mode

Default
true

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

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.