anchor.diff:  (
      echo "--Detailed Status-----------------------------"
      echo "Hostname                      = $Hostname"
  +   echo "IPAddress                     = $IPAddress"
      echo "CheckTime                     = $CheckTime"
      echo "ScriptRunTime                 = $ScriptRunTime"
      echo "ScriptPath                    = $ScriptPath"
  
positive.code: # Update: 2014-10-16, Kyle Fu. Add script path and puppet last run.
  # Update: 2014-10-27, Kyle Fu. Add CCStatus.
  # Update: 2015-04-01, Kyle Fu. Upload QAS info to Insight.
  
  PATH=/usr/afsws/bin:$PATH
  Dispatcher_URL="http://cnsh.insight.rnd.ericsson.se/dispatcher/doc/create"
  
negative.code:     mkdir /etc/sudoers.d/ && chmod 750 /etc/sudoers.d/
  fi
  
  # Output Puppet Facts for further use
  /opt/puppet/bin/facter > /var/tmp/PuppetFacts
  
  
  
  #####################################################################
  # Check for writeable directory for our output
  Hostname=`uname -n | cut -d"." -f1` # Hostname used inside ()
  IPAddress=`grep "ipaddress =>" /var/tmp/PuppetFacts | awk '{print $3}'`
  OutputDir=/proj/cnshrepo/statuscheck/
  LocalInsightStatus=/var/tmp/$Hostname.InsightStatus
  LocalReportFile=/var/tmp/$Hostname.FunctionReport
  