Skip to content

Commit

Permalink
Merge pull request #16 from twc-openstack/expanded_probe_config
Browse files Browse the repository at this point in the history
Allow arbitrary probe config values
  • Loading branch information
tobru committed Oct 21, 2014
2 parents 31ae020 + 2223fb5 commit 8347c48
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions templates/probes.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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 comments on commit 8347c48

Please sign in to comment.