summaryrefslogtreecommitdiff
path: root/templates/munin-node.conf.erb
diff options
context:
space:
mode:
authorantonio <me.verni@gmail.com>2014-06-12 00:41:18 +0200
committerantonio <me.verni@gmail.com>2014-06-12 00:44:26 +0200
commit29919e02a8b3f27d9d516be586e92704b806a48e (patch)
treea4462a2e788ecf9d194e7aaba93f6f6c39dbe0c2 /templates/munin-node.conf.erb
parentd09774c635ea72932727d6724ee847942ddafb77 (diff)
changed host_name default to ::fqdn
Diffstat (limited to 'templates/munin-node.conf.erb')
-rw-r--r--templates/munin-node.conf.erb4
1 files changed, 0 insertions, 4 deletions
diff --git a/templates/munin-node.conf.erb b/templates/munin-node.conf.erb
index 891203c..b0c8fc8 100644
--- a/templates/munin-node.conf.erb
+++ b/templates/munin-node.conf.erb
@@ -34,11 +34,7 @@ ignore_file \.pod$
# Set this if the client doesn't report the correct hostname when
# telnetting to localhost, port 4949
#
-<% if scope.lookupvar('munin::client::host_name') == '::fqdn' -%>
-host_name <%= scope.lookupvar('::fqdn') %>
-<% else -%>
host_name <%= scope.lookupvar('munin::client::host_name') %>
-<% end -%>
# A list of addresses that are allowed to connect. This must be a
# regular expression, since Net::Server does not understand CIDR-style