I'm trying to upgrade from 1.7 to 2.2 with the puppet module. It lays down the new elasticsearch.repo file but when it goes to retrieve the metadata I get a 404 not found. The same happens in the browser as well from this url:
http://packages.elastic.co/elasticsearch/2.2/centos/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: elasticsearch. Please verify its path and try again
Substituting 1.7 for 2.2 does retrieve the metadata file. Any ideas?