converted elastic search to use repo_packages

Converts elasticsearch to use repo_packages.

Trello Card: https://trello.com/c/30nih3lB