X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fmunin%2Ftemplates%2Fmunin-node.conf.erb;h=2680058c626636c3873c42ef3d278031ab175a25;hb=ded0c1ded4865d466a989762db959114892b917f;hp=e5ef6ff7da7012eaefd07880e940143d24d65569;hpb=3eb533e5499e66423bafdedaf6c7d08ead1772de;p=mirror%2Fdsa-puppet.git diff --git a/modules/munin/templates/munin-node.conf.erb b/modules/munin/templates/munin-node.conf.erb index e5ef6ff7d..2680058c6 100644 --- a/modules/munin/templates/munin-node.conf.erb +++ b/modules/munin/templates/munin-node.conf.erb @@ -38,14 +38,4 @@ ignore_file \.rpm(save|new)$ # doesn't understand CIDR-style network notation. You may repeat # the allow line as many times as you'd like -<%= -str = '' -scope.lookupvar('site::localinfo').keys.sort.each do |node| - if scope.lookupvar('site::localinfo')[node]['muninmaster'] - scope.lookupvar('site::allnodeinfo')[node]['ipHostNumber'].each do |ip| - str += "allow ^" + ip.split('.').join('\.') + "$\n" - end - end -end -str --%> +allow ^127\.0\.0\.1$