jfryman/puppet-nginx — pull request #25 by guzmanbraso (2012-10-02 01:20:28+00:00)
Title: puppet-nginx refactor to class/arguments

These commits (hopefully) will add the first arguments to puppet-nginx and hopefully will set the basic idea for anyone to help refactor puppet-nginx make sure of not breaking current users of puppet-nginx.

The idea is that nothing should be trusted and everything must have a sane default value, **arguments MUST have defaults from params.pp set on main class as well as for any subclass that needs it**, so no matter no one should be calling subclasses (eg nginx::config) by themselves, we should set a default for it too, as someone may be calling it and not setting a default in the subclass call will break his configuration.