Working configs with selfcheck
This commit is contained in:
parent
7610fc3152
commit
2d7f6ae856
|
@ -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
12
conf.d/selfcheck.json
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"services": [
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"group": "mesos"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"conf_name": "selfcheck",
|
||||||
|
"template": "templates/selfcheck.jj2",
|
||||||
|
"dest": "selfcheck",
|
||||||
|
"reload_cmd": "/bin/echo selfcheck ok"
|
||||||
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"marathon": "10.0.1.199:8080",
|
"marathon": "TODO",
|
||||||
"confd": "conf.d",
|
"confd": "conf.d",
|
||||||
"domain": "marathon.mesos",
|
"domain": "marathon.mesos",
|
||||||
"wait_time": 20,
|
"wait_time": 20,
|
||||||
|
|
1
templates/selfcheck.jj2
Normal file
1
templates/selfcheck.jj2
Normal file
|
@ -0,0 +1 @@
|
||||||
|
OK
|
Loading…
Reference in New Issue
Block a user