Make the puppet manifests more happy on Red Hat

Package name differences and default group differences
between apt and yum-based distros mean that the manifests
will fail.

These changes make them a bit more resilient by ensuring
the chosen groups exist and choosing a vim package based
the $operatingsystem fact.