projects
/
invirt/packages/xvm-munin-config.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
diff --git
a/debian/transform_munin-node.conf.xvm.mako
b/debian/transform_munin-node.conf.xvm.mako
index
2572e76
..
a6955df
100755
(executable)
--- a/
debian/transform_munin-node.conf.xvm.mako
+++ b/
debian/transform_munin-node.conf.xvm.mako
@@
-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