elasticsearch/cookbook-elasticsearch — pull request #183 by psychopenguin (2014-02-07 16:37:59+00:00)
Title: Recipe to install from a repository

I've created a recipe, named repoinstall, to be used for package installation from a repository. It supports both apt and yum based repos.

Tested with Ubuntu 12.04 and CentOS 6.

The default repo attributes point to the one available on Elasticsearch website - http://www.elasticsearch.org/blog/apt-and-yum-repositories/.

To use this recipe just call elasticsearch::repoinstall on your runlist.