Disclaimer: I'm a total AWS and especially OpsWorks noob. I am furiously reading both OpsWorks and Chef documentation in the hopes that my question is stupid/really easy.
On my app I'm using the unicorn::rails built-in OpsWorks Chef recipe. I'm pretty sure unicorn::rails builds nginx along the way using this mysterious package call in nginx/recipes/default.rb. The EC2 instance is using Ubuntu so the package manager is apt-get.
Questions:
- Is it possible to do custom nginx build with a built-in OpsWorks Chef recipe?
- If (a) is true, where does one modify the chef script to build nginx with modules?
I suspect I'll need to write a custom Chef script and add another layer to the stack. I was hoping to use the built-in recipes for as long as possible because I'm super new to AWS OpsWorks and Chef.