opscode-cookbooks/nginx — pull request #1 by reset (2012-03-20 20:00:45+00:00)
Title: Cook 477 - Add module compilation support to NGINX

These changes enhance the NGINX cookbook's "source" recipe to allow you to specify additional modules to include into NGINX.

This is done through the use of helper recipes in the NGINX cookbook - there are a number of them present in this pull request and they are all post fixed with _module.

The helper recipes should perform any necessary configuration steps for the module and additionally add the compilation flag to the `:nginx_configure_flags` key in the `run_state`. This is an array of configuration flags which are built up during the Chef run context and compared to that of what NGINX says it was compiled with.

An Ohai plugin for NGINX is generated by this cookbook and placed in the Ohai plugins directory. This plugin is used to determine the ACTUAL state of the NGINX binary; things like:
* what version of NGINX we're on
* what the prefix NGINX was built with
* what the conf dir NGINX was built with
* and all configure flags NGINX was given