Reorder args on TCP checks to better match the natural sorting order of the iterations

This commit is contained in:
Salt 2021-08-15 02:44:42 -05:00
parent 94f6d45d07
commit c745de9309

View File

@ -137,7 +137,7 @@ define service {
{% for port in service.value.ports %} {% for port in service.value.ports %}
define service { define service {
use ansible-generic-service use ansible-generic-service
service_description TCP {{ port }} - {{ service.value.name }} service_description TCP {{ service.value.name }} - {{ port }}
check_command check_tcp!{{ port }} check_command check_tcp!{{ port }}
host_name {{ host_name }} host_name {{ host_name }}
} }