Replaced fqdn variables with homename
This commit is contained in:
parent
c871e91a13
commit
45b597c29c
12 changed files with 39 additions and 39 deletions
|
@ -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"],
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue