anchor.diff:  
   setup() {
     yum update -y
  -  platform="$(cat /etc/redhat-release | cut -d" " -f1 | tr [[:upper:]] [[:lower:]])"
  -  platform_version="$(cat /etc/redhat-release | cut -d" " -f3)"
  +  
  +  if [[ grep -qi "Red Hat" /etc/redhat-release ]]; then
  +    platform="redhat"
  +  else
  +    platform=$(cat /etc/redhat-release | cut -d" " -f1 | tr [[:upper:]] [[:lower:]])
  +  fi
  +  if [[ grep -qi "Rawhide" /etc/redhat-release ]]; then
  +    platform_version=$(grep -Po '([0-9]+) (?=\(Rawhide\))' /etc/redhat-release)
  +  else
  +    platform_version=$(grep -Po '(?<=release )[0-9\.]+' /etc/redhat-release)
  +  fi
   
     yum install ruby rubygems ruby-devel -y
     yum install readline-devel zlib-devel libyaml-devel openssl-devel \
  
positive.code:   sed -i "s/HOSTNAME=.*/HOSTNAME=${hostname}/" /etc/sysconfig/network
  
    if egrep -q "^127.0.1.1[[:space:]]" /etc/hosts >/dev/null ; then
      sed -i "s/^\(127[.]0[.]1[.]1[[:space:]]\+\)/\1${hostnames} /" \
        /etc/hosts
    else
      sed -i "s/^\(127[.]0[.]0[.]1[[:space:]]\+.*\)$/\1\n127.0.1.1 ${hostnames} /" \
        /etc/hosts
    fi
    /bin/hostname ${hostname}
  }
  
negative.code: }
  
  set_hostname_for_centos() {
    if hostname | grep -q "$hostname" > /dev/null ; then
      printf -- "-----> Hostname is correct, so skipping...\n"
      return
    fi
  
  