]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/templates/default/munin-node.conf.erb
Make munin use the node name instead of the FQDN
[chef.git] / cookbooks / munin / templates / default / munin-node.conf.erb
index 0ff07cb3c0f4a82051f59d6062ffe3e12977942f..8c88fd612560beb70ebf675fb11d009136bca39d 100644 (file)
@@ -23,7 +23,7 @@ ignore_file \.rpm(save|new)$
 ignore_file \.pod$
 
 # Set the hostname
-host_name <%= node[:hostname] -%>.openstreetmap.org
+host_name <%= node.name %>
 
 # List on port 4949 on all interfaces
 host *