Skip to content
Snippets Groups Projects
Commit 2223fb53 authored by Clayton O'Neill's avatar Clayton O'Neill
Browse files

Allow arbitrary probe config values

This changes the statically configured options for binary and step to
allow configuring any probe configuration that is passed in the hash by
the user.  This is needed for probes like AnotherDNS that have no binary
option, but have other useful options.
parent 6ea81b6a
No related branches found
No related tags found
No related merge requests found
......@@ -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 -%>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment