Sha256: 5124d24151e1787d7d76a0afcd21b59f7c463b2986a0b6a3fba24a08788cf2af

Contents?: true

Size: 1.02 KB

Versions: 40

Compression:

Stored size: 1.02 KB

Contents

<%
  @path = '/etc/munin/munin-node.conf'
  @post = '/etc/init.d/munin-node restart'
%>

#
# Example config-file for munin-node
#

log_level 4
log_file /var/log/munin/munin-node.log
port 4949
pid_file /var/run/munin/munin-node.pid
background 1
setseid 1

# Which port to bind to;
host *
user root
group root
setsid yes

# Regexps for files to ignore

ignore_file ~$
ignore_file \.bak$
ignore_file %$
ignore_file \.dpkg-(tmp|new|old|dist)$
ignore_file \.rpm(save|new)$

# Set this if the client doesn't report the correct hostname when
# telnetting to localhost, port 4949
#
#host_name localhost.localdomain

# A list of addresses that are allowed to connect.  This must be a
# regular expression, due to brain damage in Net::Server, which
# doesn't understand CIDR-style network notation.  You may repeat
# the allow line as many times as you'd like

allow ^127\.0\.0\.1$

<%
  munin_server = rubber_instances.for_role('web_tools').first.internal_ip rescue "127.0.0.1"
  munin_server = munin_server.gsub(/\./, "\\.")
%>
allow ^<%= munin_server %>$

Version data entries

40 entries across 40 versions & 5 rubygems

Version Path
sml-rubber-0.9.1 generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf
sml-rubber-0.9.10 generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf
sml-rubber-0.9.11 generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf
sml-rubber-0.9.13 generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf
sml-rubber-0.9.3 generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf
sml-rubber-0.9.4 generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf
sml-rubber-0.9.5 generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf
sml-rubber-0.9.6 generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf
sml-rubber-0.9.7 generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf
sml-rubber-0.9.8 generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf
sml-rubber-0.9.9 generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf
wr0ngway-rubber-1.0.0 generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf
wr0ngway-rubber-1.0.1 generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf
axtro-rubber-1.2.3 generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf
axtro-rubber-1.2.2 generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf
rubber-1.3.2 generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf
rubber-1.3.1 generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf
rubber-1.3.0 generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf
rubber-1.2.1 generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf
axtro-rubber-1.2.1 generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf