consul_agent_windows job from cf/251
Github source:
493e5077
or
master branch
Properties¶
consul
¶
agent
¶
datacenter
¶Name of the agent’s datacenter.
- Default
dc1
dns_config
¶
allow_stale
¶Enables a stale query for DNS information. This allows any Consul server, rather than only the leader, to service the request.
- Default
false
max_stale
¶When allow_stale is specified, this is used to limit how stale results are allowed to be.
- Default
5s
domain
¶Domain suffix for DNS
log_level
¶Agent log level.
- Default
info
protocol_version
¶The Consul protocol to use.
- Default
2
require_ssl
¶Require SSL to talk with the local agent
- Default
false
servers
¶
lan
¶LAN server addresses to join on start.
- Default
[]
wan
¶WAN server addresses to join.
- Default
[]
services
¶Map of consul service definitions.
- Default
{}
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
rewrite_resolv
¶When set to true this property will rewrite the resolv.conf file and add 127.0.0.1 as the first entry
- Default
true
syslog_daemon_config
¶
address
¶Syslog host
- Default
""
port
¶Syslog port
- Default
""
transport
¶Syslog transport protocol (tcp or udp)
- Default
udp
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_windows/
directory
(learn more).
bin/pre-start.ps1
(frompre-start.ps1.erb
)config/certs/agent.crt
(fromagent.crt.erb
)config/certs/agent.key
(fromagent.key.erb
)config/certs/ca.crt
(fromca.crt.erb
)confab.json
(fromconfab.json.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.