add data_dir to server and client configuration

This commit is contained in:
Scott Wiersdorf 2017-02-24 17:08:57 -07:00
parent f67e952be2
commit 3fc0f5c6b3
1 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,8 @@ the following Nomad configuration file:
```hcl
# /etc/nomad.d/server.hcl
data_dir = "/etc/nomad.d"
server {
enabled = true
bootstrap_expect = 3
@ -56,6 +58,7 @@ A similar configuration is available for Nomad clients:
# /etc/nomad.d/client.hcl
datacenter = "dc1"
data_dir = "/etc/nomad.d"
client {
enabled = true