anchor.diff:      ;;
   
   esac
  -exit 0
  
positive.code: }
  
  function setup_bosh_environment() {
    JOB_NAME=mesos-slave
    LOG_DIR=/var/vcap/sys/log/$JOB_NAME
    RUN_DIR=/var/vcap/sys/run/$JOB_NAME
    PIDFILE=$RUN_DIR/$JOB_NAME.pid
    mkdir -p $LOG_DIR
    mkdir -p $RUN_DIR
    chown --recursive vcap:vcap $LOG_DIR
  
negative.code: 
  set -e 
  set -u 
  
  JOB_NAME=mesos-slave
  LOG_DIR=/var/vcap/sys/log/$JOB_NAME
  RUN_DIR=/var/vcap/sys/run/$JOB_NAME
  PIDFILE=$RUN_DIR/$JOB_NAME.pid
  
  function setup_java_environment() {
    export JAVA_HOME=/var/vcap/packages/openjdk/jdk/
  