Yeah, I like this construct for convenience.
One downside is that you can't use this module for unsupported osfamilies anymore.
Like announced in the readme:
https://github.com/ghoneycutt/puppet-module-vim/blob/master/README.md#os-distributions

Will post another commit to add this construct.