Comment 1 for bug 1931150

Revision history for this message
Junien F (axino) wrote :

Also, the haproxy_input() function is gated with :

@when("haproxy.available")
@when("telegraf.installed")
def haproxy_input(haproxy):

So it will be called for every single hook if haproxy is related. We should gate it with a flag that's set at the end of this function ("haproxy.input.configured" or something) and unset this flag where appropriate ("config-changed" etc...)