Work around munin bug caused by names that start with a number
[invirt/packages/xvm-munin-config.git] / debian / transform_munin-node.conf.xvm.mako
index 2572e76..a6955df 100755 (executable)
@@ -19,7 +19,7 @@ print unless /^$/;
 
 END {
   print <<'EOF';
-% for host in cfg.monitoring:
+% for host in cfg.get('monitoring', []):
 allow ^${host.ip.replace('.', '\.')}$
 % endfor
 EOF