> i forgot to add that the most complicated part in this might be to stay > backward compatible with existing installations that symlink their plugins > with just one parameter (the aspect) > > varnish_ -> varnish_expunge > > instead of the new way (instance + aspect) > > varnish_ -> varnish_project1_expunge > > > > i don't have any idea on how to solve that atm.. :-(
While breaking old links if you're not renaming them manually (which is no big deal really), the best way to solve the OP's challenge is rewriting the plugin into a multigraph plugin (compatible with Munin from 1.4 and above). That way the symlinks will only point to the instance (i.e. varnish_ -> varnish_project1, varnish_ -> project2 etc), and all aspects will be managed internally in the plugin. -- Bjørn _______________________________________________ varnish-misc mailing list [email protected] http://lists.varnish-cache.org/mailman/listinfo/varnish-misc
