nod. the fpm rspecs for rpm include end-to-end tests where it outputs a package and reads it in with arr-pm for cases where we want to do that; but agreed, moving logic out of the templates is good +1