puppetlabs/puppetlabs-nginx — pull request #42 by abraham1901 (2013-03-16 09:48:10+00:00)
Title: Fix configuration on Ubuntu 12.04.2. Add $nx_types_hash_max_size params. Fix puppet-lint ERROR.

Subj.
On Ubuntu 12.04 faild test configuration and start without params types_hash_max_size.

nginx -t
nginx: [emerg] could not build the types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 32
nginx: configuration file /etc/nginx/nginx.conf test failed

Puppet agent error:
Debug: Executing '/etc/init.d/nginx configtest && /etc/init.d/nginx restart'
Error: /Stage[main]/Nginx::Service/Service[nginx]: Failed to call refresh: Could not restart Service[nginx]: Execution of '/etc/init.d/nginx configtest && restart' returned 1:
Error: /Stage[main]/Nginx::Service/Service[nginx]: Could not restart Service[nginx]: Execution of '/etc/init.d/nginx configtest && /etc/init.d/nginx restart