we probably need to change this to    repo.index_content   and add   self.index_puppet_modules to   Repository.index_content