Replaced fqdn variables with homename

This commit is contained in:
Ossi Salmi 2010-11-08 14:16:04 +02:00 committed by Timo Mkinen
parent c871e91a13
commit 45b597c29c
12 changed files with 39 additions and 39 deletions

View file

@ -34,8 +34,8 @@ class munin::node {
notify => Exec["munin-node-configure"],
}
@@file { "/etc/munin/nodes.d/${fqdn}.conf":
content => "[${fqdn}]\n address ${ipaddress}\n use_node_name yes\n",
@@file { "/etc/munin/nodes.d/${homename}.conf":
content => "[${homename}]\n address ${ipaddress}\n use_node_name yes\n",
ensure => present,
tag => "munin",
notify => Exec["generate-munin-conf"],

View file

@ -30,7 +30,7 @@ ignore_file \.pod$
# telnetting to localhost, port 4949
#
#host_name ppc3.fedora.redhat.com
host_name <%= fqdn %>
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