summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/client.erb11
l---------templates/munin-node.conf.Debian.lucid1
-rw-r--r--templates/munin-node.conf.default3
3 files changed, 10 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 -%>
diff --git a/templates/munin-node.conf.Debian.lucid b/templates/munin-node.conf.Debian.lucid
new file mode 120000
index 0000000..e0646b9
--- /dev/null
+++ b/templates/munin-node.conf.Debian.lucid
@@ -0,0 +1 @@
+munin-node.conf.Debian.etch \ No newline at end of file
diff --git a/templates/munin-node.conf.default b/templates/munin-node.conf.default
index 85c0051..be62848 100644
--- a/templates/munin-node.conf.default
+++ b/templates/munin-node.conf.default
@@ -1,6 +1,9 @@
##########
########## Managed by puppet
##########
+#
+# Example config-file for munin-node
+#
log_level 4
log_file /var/log/munin/munin-node.log