require vhost folder

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

View file

@ -495,10 +495,11 @@ define nginx::resource::vhost (
}
concat { $config_file:
owner => $owner,
group => $group,
mode => $mode,
notify => Class['::nginx::service'],
owner => $owner,
group => $group,
mode => $mode,
notify => Class['::nginx::service'],
require => File[$vhost_dir]
}
$ssl_only = ($ssl == true) and ($ssl_port == $listen_port)