Convert definitions to custom resources (LWRPs) Closes #2654 See merge request gitlab-org/omnibus-gitlab!1967