I think this is what you meant in issue 62

https://github.com/jfryman/puppet-nginx/issues/62
I refactored all the variables to be topscope parameters defaulting to params::xxx

I cannot get the unit test suite you have setup working, but if you ping me on #puppet, or send me an email, once we get on the same page, I'll write a full suite of tests for rhel variants.