rewrite of osocciprocci resource and os template mixin management