The lack of semicolons after location_custom_cfg_append in nginxconfig.pp causes the nginx configuration file generated to cause an error when nginx is starting up :(
Manually editing the configuration file to add those semicolons solved the problem for me -- perhaps this is a problem that should be fixed in the the nginx module though, just thought I'd alert you about it.