anchor.diff:  
   if [ -d "proc/$PUPPET_PID" ];
   then
  -    wget "https://$MERLIN_API_ENDPOINT/instance/$ID/intervene&access_token=$ACCESS_TOKEN&condition=puppetlongrunning" 
  +    wget "https://$MERLIN_API_ENDPOINT/api/i/$ID/intervene&access_token=$ACCESS_TOKEN&condition=puppetlongrunning" 
   else
  -    wget "https://$MERLIN_API_ENDPOINT/instance/$ID/complete&access_token=$ACCESS_TOKEN"
  +    wget "https://$MERLIN_API_ENDPOINT/api/i/$ID/complete&access_token=$ACCESS_TOKEN"
   fi
   
   echo "Provisioning complete!"
  
positive.code: hostname -F /etc/hostname
  
  # Introduce ourselves to Merlin, or notify it that we're alive
  wget "https://$MERLIN_API_ENDPOINT/instance/$ID/hello?hostname=$HOSTNAME&accesstoken=$ACCESS_TOKEN" -O /var/log/$TAG/hello.log
  
  # Ask Merlin to attach any additional storage that has been provisioned
  wget "https://$MERLIN_API_ENDPOINT/instance/$ID/attach_storage&accesstoken=$ACCESS_TOKEN" -O /var/log/$TAG/attachstorage.log
  
  echo "Processing volume configuration..."
  <% for vol in volume %>
  
negative.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
  