agent/testdata add a configuration directory for testing

This commit is contained in:
Lang Martin
2019-06-11 15:13:27 -04:00
parent 4bfbeb649b
commit d1ee78ab30
4 changed files with 128 additions and 1 deletions

View File

@@ -0,0 +1,38 @@
{
"acl": {
"enabled": true
},
"bind_addr": "0.0.0.0",
"consul": {
"ssl": true,
"server_auto_join": false,
"client_auto_join": false,
"token": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
},
"data_dir": "/opt/data/nomad/data",
"datacenter": "dc1",
"enable_syslog": true,
"leave_on_interrupt": true,
"leave_on_terminate": true,
"log_level": "INFO",
"region": "global",
"server": {
"bootstrap_expect": 3,
"enabled": true,
"encrypt": "sHck3WL6cxuhuY7Mso9BHA==",
"retry_join": [
"10.0.0.101",
"10.0.0.102",
"10.0.0.103"
]
},
"syslog_facility": "LOCAL0",
"tls": {
"ca_file": "/opt/data/nomad/certs/nomad-ca.pem",
"cert_file": "/opt/data/nomad/certs/server.pem",
"http": true,
},
"vault": {
"address": "http://host.example.com:8200",
}
}