Closed Stubbs closed 11 years ago
Thank you for creating this issue! I assume the reason why Apache2 is installed is the basebox you are using. However, I will modify the manifests to ensure that apache2 is not running (as a requirement for the nginx service). Would that work for you?
Could you please try this version and tell me if it works for you as expected? I tested it by installing and stating apache before executing vagrant provisioning
.
I'm pretty sure that apache is being installed as a dependency for one of the PHP packages, though I'm not sure which.
I've created a blank instance of my base box & Apache is not installed on there.
To make sure that apache is not running I've added a requires => 'php5-fpm' to the service, otherwise it was being executed too soon & couldn't find the apache stop/start script because it wasn't installed yet.
I've created a new project using your template & by default it's installing apache which is causing nginx to fail when it starts because apache has already bound to port 80.