anchor.diff:  
   ["source","sh",subs="attributes,callouts"]
   --------------------------------------------------
  -[elasticsearch-{major-version}]
  +[elasticsearch]
   name=Elasticsearch repository for {major-version} packages
   baseurl=https://artifacts.elastic.co/packages/{major-version}/yum
   gpgcheck=1
   gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
  -enabled=1
  +enabled=0
   autorefresh=1
   type=rpm-md
   --------------------------------------------------
  
positive.code: 
  [source,sh]
  --------------------------------------------------
  sudo yum install elasticsearch <1>
  sudo dnf install elasticsearch <2>
  sudo zypper install elasticsearch <3>
  --------------------------------------------------
  <1> Use `yum` on CentOS and older Red Hat based distributions.
  <2> Use `dnf` on Fedora and other newer Red Hat distributions.
  <3> Use `zypper` on OpenSUSE based distributions
  
  endif::[]
  
  
negative.code: 
  ["source","sh",subs="attributes,callouts"]
  --------------------------------------------------
  [elasticsearch]
  name=Elasticsearch repository for {major-version} packages
  baseurl=https://artifacts.elastic.co/packages/{major-version}-prerelease/yum
  gpgcheck=1
  gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
  enabled=0
  autorefresh=1
  type=rpm-md
  --------------------------------------------------
  