If the version selector is common (or very close) between the package and puppet rules, I'd recommend making this a partial.  That way we can reuse it again in the future, if need be.