On Monday, May 20, 2013 at 4:29 AM, Prajwal Manjunath wrote:
I'm trying to use the nginx cookbook, which comes with a definition to "enable" sites.I have a separate recipe for my application, which creates the nginx config for the app, and puts it in sites-available. I then try to use nginx_site definition.The problem is, to do this, I have to "include_recipe 'nginx'"This is problematic for me since I've configured it to install from source, and thus it recompiles nginx each time i try to deploy my app.Is it possible to load only the definitions of the nginx cookbook into my recipe, so the nginx::default recipe doesn't run?Definitions should be available as long as the cookbook gets loaded. Adding a dependency in the metadata of your custom cookbook should take care of this.What happens if you just remove the include_recipe statement?--Daniel DeLeo
Archive powered by MHonArc 2.6.16.