anchor.diff:    if ! [ -e /etc/gitlab/gitlab.rb ] ; then
       mkdir -p /etc/gitlab
       cp "${DEST_DIR}/etc/gitlab.rb.template" /etc/gitlab/gitlab.rb
  -    sed -i 's!GENERATED_EXTERNAL_URL!'$external_url'!g' /etc/gitlab/gitlab.rb
  +    sed -i 's!GENERATED_EXTERNAL_URL!'$EXTERNAL_URL'!g' /etc/gitlab/gitlab.rb
       chmod 600 /etc/gitlab/gitlab.rb
     fi
   }
  
positive.code:   ${DEST_DIR}/bin/gitlab-ci-rails \
  "
  symlink_command="ln -sf ${usr_bin_symlinks} /usr/bin/"
  
  # Try collecting fqdn if it is set correctly
  fqdn=$(/bin/hostname -f)
  if [ -n "${fqdn}" ]; then
    external_url="http://${fqdn}"
  else
    external_url="http://gitlab.example.com"
  fi
  
  error_exit()
  {
  
negative.code: 
  PROGNAME=$(basename $0)
  DEST_DIR=<%= install_dir %>
  EXTERNAL_URL="http://gitlab.example.com"
  usr_bin_symlinks="\
    ${DEST_DIR}/bin/gitlab-ctl \
    ${DEST_DIR}/bin/gitlab-rake \
  