devcluster: Add standalone server

This adds a single-node configuration of a dev cluster, for use when
testing things that require state restoration or multiple clients, but don't
necessarily require a 3+ node cluster.
This commit is contained in:
Danielle Lancashire 2019-05-22 14:21:09 +02:00
parent 26718b7d8a
commit 47bd1e74ed
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
# Increase log verbosity
log_level = "DEBUG"
# Setup data dir
data_dir = "/tmp/serverstandalone"
# Give the agent a unique name. Defaults to hostname
name = "serverstandalone"
# Enable the server
server {
enabled = true
bootstrap_expect = 1
}