diff --git a/templates/probes.erb b/templates/probes.erb index 576c2c2..7c33d16 100644 --- a/templates/probes.erb +++ b/templates/probes.erb @@ -3,8 +3,9 @@ # THIS FILE IS MANAGED BY PUPPET <% probes.each do |probe| -%> -+ <%= probe['name'] %> -binary = <%= probe['binary'] %> -step = <%= probe['step'] %> ++ <%= probe.delete('name') %> +<% probe.each_pair do |k,v| -%> +<%= k %> = <%= v %> +<% end -%> <% end -%>