priestjim/chef-openresty — pull request #7 by sdelano (2013-04-16 19:10:07+00:00)
Title: Composable Default Recipe / Persist Configure Flags

This pull request is an updated combination of the previous pull requests #3 and #6.

Issues addressed:

## Refactor

Refactored `default` recipe into a more composable set of recipes that can be included by other cookbooks to single-out functionality (e.g. seperate `build` and `service` recipes).

## Persist Configure Flags

Persist `./configure` flags for OpenResty to compare across `chef-client` runs. Since the Openresty configure script is a Perl wrapper for the nginx configure script, the input arguments here are not always equivalent to the input arguments that the nginx configure sees. Comparing them to determine whether we should rebuild can result in alway rebuilding nginx. This can easily be reproduced by passing `--with-ldopts=luuid` as a configure argument to OpenResty.