anchor.diff:      apt-get install -y $1 1>&2
     fi
   }
  -
   
   set_hostname() {
     instance_id=`curl --silent --retry 5 --retry-delay 5 169.254.169.254/latest/meta-data/instance-id` 1>&2
  
positive.code: ## main
  ##
  
  #some derived vars
  repo_dir=${chef_dir}/src
  keyfile=${chef_dir}/git_key
  envfile=${chef_dir}/environment
  launchedbyfile=${chef_dir}/launched_by
  rolefile=${chef_dir}/role
  branchfile=${chef_dir}/branch
  originfile=${chef_dir}/origin
  git_wrapper=${chef_dir}/git_wrapper
  
  echo "starting chef bootstrapping..."
  mkdir -p ${chef_dir}
  update
  install curl
  install git
  
negative.code: create_ohai_hint
  update_repo
  configure_chef
  configure_converge
  run_chef
  echo "<%= last_bootstrap_line %>"
  ) 200> /var/run/converge.lock
  