Fixes #7852: Refactor puppet modules controller to use content concern.