From 7e882f590806fe0c7906fa26a0c533a762301db6 Mon Sep 17 00:00:00 2001 From: Danielle Lancashire Date: Wed, 22 May 2019 14:21:09 +0200 Subject: [PATCH] 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. --- dev/cluster/server-standalone.hcl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 dev/cluster/server-standalone.hcl diff --git a/dev/cluster/server-standalone.hcl b/dev/cluster/server-standalone.hcl new file mode 100644 index 000000000..1e49578bf --- /dev/null +++ b/dev/cluster/server-standalone.hcl @@ -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 +}