Where should I configure software installed by 3rd-party chef recipes?

Posted by FRKT on Server Fault See other posts from Server Fault or by FRKT
Published on 2012-09-20T08:39:27Z Indexed on 2012/09/20 9:40 UTC
Read the original article Hit count: 187

Filed under:
|

I'm provisioning a Vagrant virtual machine with Chef and it's amazing, but I'm unsure where I should put code to configure software installed by 3rd-party chef recipes.

For example, I'm installing NGINX with this recipe but I need to configure the default virtual host to serve content from /vagrant/public instead of /var/www/nginx-default.

Should I change the template of the 3rd-party recipe, or create another recipe that reconfigures it?

© Server Fault or respective owner

Related posts about chef

Related posts about vagrant