summaryrefslogtreecommitdiff
path: root/templates/client.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/client.erb')
-rw-r--r--templates/client.erb11
1 files changed, 6 insertions, 5 deletions
diff --git a/templates/client.erb b/templates/client.erb
index 286631f..15e05c6 100644
--- a/templates/client.erb
+++ b/templates/client.erb
@@ -1,7 +1,7 @@
<%
- # Downcase all information
- dom = domain.downcase
- host = hostname.downcase
+ # Downcase all information
+ dom = domain.downcase
+ host = hostname.downcase
%>
### Munin client from Puppet template
@@ -12,7 +12,8 @@
# Description: <%= description.gsub!(/\n/, ' ') %>
<% end -%>
[<%= fhost.downcase %>]
- address <%= munin_host_real -%>
-<% if config -%><% config.each do |val| -%>
+ address <%= munin_host_real %>
+ port <%= munin_port_real %>
+<% if config -%><% config.each do |val| -%>
<%= val -%>
<% end -%><% end -%>