==> servant: Running provisioner: shell...
servant: Running: script: vhosts_add
==> servant: [vhost][+][newproject.com][Apache] Enabling site newproject.com.
==> servant: [vhost][+][newproject.com][Apache] To activate the new configuration, you need to run:
==> servant: [vhost][+][newproject.com][Apache] service apache2 reload
==> servant: [vhost][+][newproject.com][MySQL] Created user and database "newproject_com"
==> servant: Output of config test was:
==> servant: AH00112: Warning: DocumentRoot [/var/www/html/existingproject.com/htdocs] does not exist
==> servant: (2)No such file or directory: AH02291: Cannot access directory '/var/www/html/existingproject.com/logs/' for error log of vhost defined at /etc/apache2/sites-enabled/existingproject.com.conf:1
==> servant: AH00014: Configuration check failed
==> servant: Action 'configtest' failed.
==> servant: The Apache error log may have more information.
==> servant: [vhost][+][service] * Restarting Apache httpd web server apache2
==> servant: [vhost][+][service] ...fail!
==> servant: [vhost][+][service] * The apache2 configtest failed.
==> servant: Running provisioner: shell...
servant: Running: script: vhosts_remove
==> servant: [vhost][-][existingproject.com][Apache] Site existingproject.com disabled.
==> servant: [vhost][-][existingproject.com][Apache] To activate the new configuration, you need to run:
==> servant: [vhost][-][existingproject.com][Apache] service apache2 reload
==> servant: [vhost][-][existingproject.com][MySQL] Removed user and database "existingproject_"
==> servant: [vhost][-][service] * Restarting Apache httpd web server apache2
==> servant: [vhost][-][service] ...done.
==> servant: Running provisioner: hostsupdate...
==> servant: [hosts-updater] Updating hosts file on the guest machine...
==> servant: [hosts-updater] '/etc/hosts' file updated successfully
==> servant: [hosts-updater] Updating hosts file on the host machine (password may be required)...
==> servant: [hosts-updater] '/etc/hosts' file updated successfully
Steps to reproduce:
rm -rf public/existingproject.com
mkdir public/newproject.com
vagrant provision
Output: