consul_agent job from consul/9
              Github source:
              185a5ac7 or
              master branch
            
Properties¶
consul¶
  
  
    
agent¶
datacenter¶Name of the agent’s datacenter.
- Default
dc1
log_level¶Agent log level.
- Default
info
mode¶Mode to run the agent in. (client or server)
- Default
client
protocol_version¶The Consul protocol to use.
- Default
2
servers¶
lan¶LAN server addresses to join on start.
- Default
[]
wan¶WAN server addresses to join.
- Default
[]
services¶Map of consul service definitions.
- Default
{}
sync_timeout_in_seconds¶Time to wait for a consul node to finish syncing with the cluster in seconds
- Default
60
agent_cert¶PEM-encoded agent certificate
agent_key¶PEM-encoded client key
ca_cert¶PEM-encoded CA certificate
encrypt_keys¶A list of passphrases that will be converted into encryption keys, the first key in the list is the active one
require_ssl¶enable ssl for all communication with consul
- Default
true
server_cert¶PEM-encoded server certificate
server_key¶PEM-encoded server key
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_agent/ directory
            (learn more).
          
- bin/agent_ctl(from- agent_ctl.sh.erb)
- bin/join_ctl(from- join_ctl.sh.erb)
- config/certs/agent.crt(from- agent.crt.erb)
- config/certs/agent.key(from- agent.key.erb)
- config/certs/ca.crt(from- ca.crt.erb)
- config/certs/server.crt(from- server.crt.erb)
- config/certs/server.key(from- server.key.erb)
- config/config.json(from- config.json.erb)
Packages¶
            Packages are compiled and placed onto corresponding
            instances during the deployment process. Packages will be
            placed into /var/vcap/packages/ directory.