seiffert / symfony-vagrant

This is a project template which enables you to get Symfony2 projects up and running on a Vagrant VM really quickly.
45 stars 10 forks source link

Letting the user choose between nginx/apache #7

Closed dupuchba closed 11 years ago

dupuchba commented 11 years ago

Hi all,

Congrats @seiffert for this repo, it helps! I am totally new to puppet and I'd like to know if it's possible to let the user choose between nginx/apache in some ways?

Thx

seiffert commented 11 years ago

Hi @dupuchba,

thank you for your feedback. This is something I would really like to include in this repository very sonn. Maybe, this could even solve some issues @Stubbs is experiencing on debian. Currently, there is no simple way of switching from nginx to apache, but I would like to add a flag to the Personalization file which indicates whether apache or nginx should be used.

Please stay in touch - also, if you should modify the puppet manifests yourself, I would be happy to have a look at them.

Paul

seiffert commented 11 years ago

Hi @dupuchba,

could you please have a look at https://github.com/seiffert/symfony-vagrant/commit/d6a8ccd160aee5b7023ef5302981c891c64f8984 - I implemented the switch apache2/nginx. Don't be confused, the linked commit also adds the apache puppet module to the repository (which leads to the high number of changed files)

Cheers, Paul

seiffert commented 11 years ago

Hi again, @dupuchba ,

after some testing, I pushed these changes to master. You can now chose between apache2 and nginx in the Personalization file.

Cheers, Paul

dupuchba commented 11 years ago

@seiffert that's the master class, thx, I trie it this evening and see if I can learn a little of puppet magic!