require vhost folder

This commit is contained in:
Martin Loy 2015-05-06 12:04:12 -03:00
parent 23fe0404c8
commit 72bb663caf

View file

@ -499,6 +499,7 @@ define nginx::resource::vhost (
group => $group,
mode => $mode,
notify => Class['::nginx::service'],
require => File[$vhost_dir]
}
$ssl_only = ($ssl == true) and ($ssl_port == $listen_port)