anchor.diff:  hostname -F /etc/hostname
   
   # Introduce ourselves to Merlin, or notify it that we're alive
  -wget "https://$MERLIN_API_ENDPOINT/api/i/$ID/hello?hostname=$HOSTNAME&accesstoken=$ACCESS_TOKEN" -O /var/log/$TAG/hello.log
  +wget "$MERLIN_API_ENDPOINT/api/i/$ID/hello?hostname=$HOSTNAME&access_token=$ACCESS_TOKEN" -O /var/log/$TAG/hello.log
   
   # Ask Merlin to attach any additional storage that has been provisioned
  -wget "https://$MERLIN_API_ENDPOINT/api/i/$ID/attach_storage&accesstoken=$ACCESS_TOKEN" -O /var/log/$TAG/attachstorage.log
  +wget "$MERLIN_API_ENDPOINT/api/i/$ID/attach_storage&access_token=$ACCESS_TOKEN" -O /var/log/$TAG/attachstorage.log
   
   echo "Processing volume configuration..."
   <% for vol in volumes %>
  
positive.code: echo $PUPPET_PID > /var/log/$TAG/puppet.pid
  sleep 5
  
  wget "https://$MERLIN_API_ENDPOINT/api/i/$ID/sign_key&access_token=$ACCESS_TOKEN" -O /var/log/$TAG/signkey.log
  
  # We will wait a maximum of ten minutes for puppet to finish, then we assume
  # something is amiss
  
negative.code: 
  if [ -d "proc/$PUPPET_PID" ];
  then
      wget "$MERLIN_API_ENDPOINT/api/i/$ID/intervene&access_token=$ACCESS_TOKEN&condition=puppetlongrunning" 
  else
      wget "$MERLIN_API_ENDPOINT/api/i/$ID/complete&access_token=$ACCESS_TOKEN"
  fi
  
  echo "Provisioning complete!"
  