Template variables should start with @
add listen_port on rewrite_www_to_non_www

Adding the port in case it is not by default.
Update vhost_footer.erb
Update vhost_header.erb
Update vhost_location_alias.erb
Update vhost_location_directory.erb
Update vhost_location_empty.erb
Update vhost_location_fastcgi.erb
Update vhost_location_proxy.erb
Update vhost_location_stub_status.erb
Update vhost_location_alias.erb

this does not affect ruby1.9
Update vhost_location_directory.erb

this does not affect ruby1.9
Update vhost_location_empty.erb

this does not affect ruby1.9
Update vhost_location_fastcgi.erb
Update vhost_location_proxy.erb

this does not affect ruby1.9
Update vhost_location_stub_status.erb

this does not affect ruby1.9
Merge pull request #114 from helldorado/master

Please reconsidere my pull request: Fix syntax "each" for ruby1.9 => each_line and add listen_port on rewrite_www_to_non_www
update nginx::package to select the package class by $::osfamily

There were some bugs in the existing $::operatingsystem based approach.

* amazon was it's own package set when it's properly part of $::osfamily ==
'redhat' as of facter >= 1.7.2

* gentoo was improperly part of the amazon package set; this patch removes
support for gentoo but it was broken anyways

modifications to nginx::package::redhat were made as well

* it no longer tries to setup the nginx.org yumrepo for fedora as no packages
for fedora are currently provided

* amazon release numbers are inconsistent with EL.  Unknown
$::lsbmajdistrelease values are now mapped to 6 so it's no longer nessicary to
test for $::lsbmajdistrelease being undefined.  This logic will need to be
reworked after RHEL7.x is released.

* the url to the nginx repo was including $::operatingsystem in it but
nginx.org only has package dirs for 'rhel' & 'centos' which are presently
identical; the usage of the 'rhel' dir has been hardcoded.  This fixes broken
yum repo setup for all $::osfamily == 'redhat' platforms other than redhat and
centos.
Merge pull request #104 from stephenrjohnson/vhost_template_cleanup

fix template, should use @
Merge pull request #99 from jhoblitt/select_package_by_osfamily

update nginx::package to select the package class by $::osfamily