anchor.diff:  ["source","sh",subs="attributes,callouts"]
   ----------------------------------------------------------------------
   sudo yum install java-1.7.0-openjdk
  -curl -L -O https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-{ES-version}.noarch.rpm
  +curl -L -O https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-{ES-version}.noarch.rpm
   sudo rpm -i elasticsearch-{ES-version}.noarch.rpm
   sudo service elasticsearch start
   ----------------------------------------------------------------------
  
positive.code: ["source","sh",subs="attributes,callouts"]
  ----------------------------------------------------------------------
  sudo apt-get install openjdk-7-jre
  curl -L -O https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-{ES-version}.deb
  sudo dpkg -i elasticsearch-{ES-version}.deb
  sudo /etc/init.d/elasticsearch start
  ----------------------------------------------------------------------
  
negative.code: [[elasticsearch-installation]]
  === Elasticsearch installation
  
  https://www.elastic.co/products/elasticsearch[Elasticsearch] is a distributed real-time
  storage, search and analytics engine. It can be used for many purposes, but one
  context where it excels is indexing streams of semi-structured data, like logs
  or decoded network packets.
  