2023-04-10 15:36:59 +00:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
|
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2019-01-29 17:25:47 +00:00
|
|
|
# Increase log verbosity
|
|
|
|
log_level = "DEBUG"
|
|
|
|
|
|
|
|
# Setup data dir
|
|
|
|
data_dir = "/tmp/client2"
|
|
|
|
|
|
|
|
# Give the agent a unique name. Defaults to hostname
|
|
|
|
name = "client2"
|
|
|
|
|
|
|
|
# Enable the client
|
|
|
|
client {
|
|
|
|
enabled = true
|
|
|
|
|
|
|
|
server_join {
|
|
|
|
retry_join = ["127.0.0.1:4647", "127.0.0.1:5647", "127.0.0.1:6647"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ports {
|
|
|
|
http = 8646
|
|
|
|
}
|