diff --git a/conf.d/1.json b/conf.d/1.json deleted file mode 100644 index 152ae26..0000000 --- a/conf.d/1.json +++ /dev/null @@ -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" -} diff --git a/conf.d/selfcheck.json b/conf.d/selfcheck.json new file mode 100644 index 0000000..56cec93 --- /dev/null +++ b/conf.d/selfcheck.json @@ -0,0 +1,12 @@ +{ + "services": [ + { + "name": "", + "group": "mesos" + } + ], + "conf_name": "selfcheck", + "template": "templates/selfcheck.jj2", + "dest": "selfcheck", + "reload_cmd": "/bin/echo selfcheck ok" +} diff --git a/conf/surok.json b/conf/surok.json index 58e5694..ecdca24 100644 --- a/conf/surok.json +++ b/conf/surok.json @@ -1,5 +1,5 @@ { - "marathon": "10.0.1.199:8080", + "marathon": "TODO", "confd": "conf.d", "domain": "marathon.mesos", "wait_time": 20, diff --git a/templates/selfcheck.jj2 b/templates/selfcheck.jj2 new file mode 100644 index 0000000..d86bac9 --- /dev/null +++ b/templates/selfcheck.jj2 @@ -0,0 +1 @@ +OK