I am fairly new to using chef, particularly with vagrant so this will most likely be a silly question to the more experienced users out there.
I am using this cookbook: https://github.com/opscode-cookbooks/application_nginx
I simply want to add my own site config (vhost).
It has to be one of the following:
- Add my own recipy and template directly to the cookbook
- Create my own cookbook that extends in some way the nginx cookbook to add only the specific behaviour i require.
Option 1 doesnt seem right to me and I dont have any idea on how to complete option 2 without having to completely separate cookbooks.
can anyone advise on how this is achieved?