]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/templates/default/smokeping.yml.erb
Merge remote-tracking branch 'github/pull/710'
[chef.git] / cookbooks / prometheus / templates / default / smokeping.yml.erb
index 46caf47b9f49704214a2dd00b2602258012fa2f6..7618e64cf8d564b8bcd093edbb90698d56ea75a7 100644 (file)
@@ -1,14 +1,14 @@
 ---
-target:
+targets:
 - hosts:
-<% @ip4_hosts.each do |host| -%>
+<% @ip4_hosts.sort.each do |host| -%>
   - <%= host %>
 <% end -%>
   interval: 5s
   network: ip4
   size: 24
 - hosts:
-<% @ip6_hosts.each do |host| -%>
+<% @ip6_hosts.sort.each do |host| -%>
   - <%= host %>
 <% end -%>
   interval: 5s