5 from invirt.config import structs as cfg
10 s/^user root/user munin/m;
11 s/^group root/group munin/m;
12 s/^node.startup = manual/node.startup = automatic/m;
13 # mako just generally doesn't deal well with lines that start with
14 # hashes, so we'll strip them
16 # And empty lines too, just for cleanliness
22 % for host in cfg.get('monitoring', []):
23 allow ^${host.ip.replace('.', '\.')}$
24 allow ^::ffff:${host.ip.replace('.', '\.')}$