30 lines
412 B
HCL
30 lines
412 B
HCL
# Increase log verbosity
|
|
log_level = "DEBUG"
|
|
|
|
# Setup data dir
|
|
data_dir = "/tmp/client3"
|
|
|
|
# Give the agent a unique name. Defaults to hostname
|
|
name = "client3"
|
|
|
|
# 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"]
|
|
}
|
|
meta {
|
|
tag = "bar"
|
|
}
|
|
}
|
|
|
|
plugin "raw_exec" {
|
|
config {
|
|
enabled = true
|
|
}
|
|
}
|
|
|
|
ports {
|
|
http = 9646
|
|
}
|