dev/cluster meta tagged clients, raw_exec

This commit is contained in:
Lang Martin
2019-04-12 10:21:25 -04:00
parent c06daf2d8a
commit 315a6b0277
3 changed files with 47 additions and 1 deletions

View File

@@ -13,6 +13,15 @@ client {
server_join {
retry_join = ["127.0.0.1:4647", "127.0.0.1:5647", "127.0.0.1:6647"]
}
meta {
tag = "foo"
}
}
plugin "raw_exec" {
config {
enabled = true
}
}
ports {

View File

@@ -10,10 +10,18 @@ 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"]
}
meta {
tag = "foo"
}
}
plugin "raw_exec" {
config {
enabled = true
}
}
ports {

29
dev/cluster/client3.hcl Normal file
View File

@@ -0,0 +1,29 @@
# 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
}