Merge pull request #1 from tiengo/master

Create documentroot function.
Fixed firewall params
Prevent error if no source_dir_purge option is set

If no source_dir_purge option is set, puppet raise this error
Parameter purge failed: Invalid value "". Valid values are true, false.
Merge pull request #2 from lermit/master

Error if no source_dir_purge option is set
Naming consistency
Merge pull request #3 from lermit/master

Fix naming consistency
specified  as www-data while guest os is Ubuntu.
Merge pull request #4 from leopku/master

specified param process_user as www-data while guest os is Ubuntu.
update nginx.conf.erb: 1.dynamic worker_processes as procssor count.\n2. replace mime.types from hard-coded path to nginx config_dir param.
dynamic hardcode path of 'include /etc/nginx/conf.d/*.conf'
add params: gzip, worker_connections, keepalive_timeout, client_max_body_size
fixed some bugs.
move definition of gzip/work_connections/keepalive_timeout/client_max_body_size to the beginning of the params list.
Merge pull request #5 from leopku/master

enhanced nginx.conf.erb
fixed a bug of comma missing.
use vdir param.
Merge pull request #6 from leopku/master

fixed a bug of comma missing.
Fix for Cannot reassign variable gzip at /etc/puppet/modules/nginx/manifests/init.pp:271
Fixes 'Scope variable name is a FalseClass, not a string' with puppet 3
Merge pull request #8 from zylon-internet/master

Fixes 'Scope variable name is a FalseClass, not a string' with puppet 3