Working configs with selfcheck

This commit is contained in:
Difrex 2016-08-03 17:26:57 +03:00
parent 7610fc3152
commit 2d7f6ae856
4 changed files with 14 additions and 13 deletions

View File

@ -1,12 +0,0 @@
{
"services": [
{
"name": "kioskservice",
"group": "production.romania"
}
],
"conf_name": "test",
"template": "templates/nginx_proxy.jj2",
"dest": "emailsender",
"reload_cmd": "/bin/echo reload nginx"
}

12
conf.d/selfcheck.json Normal file
View File

@ -0,0 +1,12 @@
{
"services": [
{
"name": "",
"group": "mesos"
}
],
"conf_name": "selfcheck",
"template": "templates/selfcheck.jj2",
"dest": "selfcheck",
"reload_cmd": "/bin/echo selfcheck ok"
}

View File

@ -1,5 +1,5 @@
{
"marathon": "10.0.1.199:8080",
"marathon": "TODO",
"confd": "conf.d",
"domain": "marathon.mesos",
"wait_time": 20,

1
templates/selfcheck.jj2 Normal file
View File

@ -0,0 +1 @@
OK