Updated all templates to use instance variables
This commit is contained in:
parent
a0c854d3c0
commit
dc51af1ca2
113 changed files with 527 additions and 522 deletions
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
log_level 4
|
||||
<% if ['CentOS','Fedora','RedHat'].index(operatingsystem) -%>
|
||||
<% if ['CentOS','Fedora','RedHat'].index(@operatingsystem) -%>
|
||||
log_file /var/log/munin-node/munin-node.log
|
||||
<% else -%>
|
||||
log_file /var/log/munin/munin-node.log
|
||||
|
@ -14,7 +14,7 @@ background 1
|
|||
setsid 1
|
||||
|
||||
user root
|
||||
<% if operatingsystem == "OpenBSD" -%>
|
||||
<% if @operatingsystem == "OpenBSD" -%>
|
||||
group wheel
|
||||
<% else -%>
|
||||
group root
|
||||
|
@ -31,17 +31,17 @@ ignore_file \.pod$
|
|||
# Set this if the client doesn't report the correct hostname when
|
||||
# telnetting to localhost, port 4949
|
||||
#
|
||||
host_name <%= homename %>
|
||||
host_name <%= @homename %>
|
||||
|
||||
# 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 <%= munin_allow %>
|
||||
allow <%= @munin_allow %>
|
||||
|
||||
# Which address to bind to;
|
||||
host <%= ipaddress %>
|
||||
host <%= @ipaddress %>
|
||||
|
||||
# And which port
|
||||
port 4949
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue