Nginx cookbook v 2.0.0: Cookbook http_gzip_static_module not found
The nginx cookbook version was increased to 2.0.0 to make an emphasis on breaking changes. Particularly now you should specify all modules with nginx:: prefix and do not use extra_modules at all. So, it should look like this now:
"default_attributes": { "nginx": { "source": { "modules": [ "nginx::http_gzip_static_module", "nginx::http_ssl_module", "nginx::http_realip_module", "nginx::http_stub_status_module", "nginx::upload_progress_module"] } }}
Please look at this ticket and relevant changeset for details.