jfryman/puppet-nginx — pull request #21 by guzmanbraso (2012-09-28 18:07:56+00:00)
Title: Fixed error from cat when trying nginx.d/* on nodes without vhosts defined

When running first time from scratch, if class was included without any setup at all
and with sane defaults, in debian squeeze generates an error when trying to collect
non existant vhosts, because cat complains that can not expand * because there are no
files.

Added unless to check that at least there is a file in nginx.d by testing it can expand.

Already created an issue for this pull: jfryman/puppet-nginx#20

Thanks!