Commit 05f25e9a authored by Łukasz Nowak's avatar Łukasz Nowak

rapid-cdn: Drop validate_frontend_configuration in favor of check_command_execute

validate_frontend_configuration is exactly check_command_execute, so just use
it.
parent 3c8ac782
...@@ -22,7 +22,7 @@ md5sum = 5784bea3bd608913769ff9a8afcccb68 ...@@ -22,7 +22,7 @@ md5sum = 5784bea3bd608913769ff9a8afcccb68
[profile-frontend] [profile-frontend]
filename = instance-frontend.cfg.in filename = instance-frontend.cfg.in
md5sum = 8b91d4ddba399794652d49917b82828d md5sum = 6af1b5abd03894ecc8d3c5aa46a76b10
[profile-master] [profile-master]
filename = instance-master.cfg.in filename = instance-master.cfg.in
......
...@@ -754,9 +754,10 @@ context = ...@@ -754,9 +754,10 @@ context =
[promise-frontend-frontend-haproxy-configuration] [promise-frontend-frontend-haproxy-configuration]
<= monitor-promise-base <= monitor-promise-base
promise = validate_frontend_configuration promise = check_command_execute
name = frontend-frontend-haproxy-configuration-promise.py name = frontend-frontend-haproxy-configuration-promise.py
config-verification-script = ${promise-helper-last-configuration-state:output} config-command = ${promise-helper-last-configuration-state:output}
config-report-anomaly = True
[promise-frontend-haproxy-v4-https] [promise-frontend-haproxy-v4-https]
<= monitor-promise-base <= monitor-promise-base
...@@ -918,9 +919,10 @@ extra-context = ...@@ -918,9 +919,10 @@ extra-context =
[promise-backend-haproxy-configuration] [promise-backend-haproxy-configuration]
<= monitor-promise-base <= monitor-promise-base
promise = validate_frontend_configuration promise = check_command_execute
name = backend-haproxy-configuration.py name = backend-haproxy-configuration.py
config-verification-script = ${promise-backend-haproxy-configuration-helper:output} config-command = ${promise-backend-haproxy-configuration-helper:output}
config-report-anomaly = True
[promise-backend-haproxy-configuration-helper] [promise-backend-haproxy-configuration-helper]
< = jinja2-template-base < = jinja2-template-base
...@@ -1073,9 +1075,10 @@ extra-context = ...@@ -1073,9 +1075,10 @@ extra-context =
[promise-slave-introspection-configuration] [promise-slave-introspection-configuration]
<= monitor-promise-base <= monitor-promise-base
promise = validate_frontend_configuration promise = check_command_execute
name = slave-introspection-configuration.py name = slave-introspection-configuration.py
config-verification-script = ${promise-slave-introspection-configuration-helper:output} config-command = ${promise-slave-introspection-configuration-helper:output}
config-report-anomaly = True
[promise-slave-introspection-configuration-helper] [promise-slave-introspection-configuration-helper]
< = jinja2-template-base < = jinja2-template-base
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment