From 44afdd6cd54257d6a27a53510956527dfdab5924 Mon Sep 17 00:00:00 2001 From: Martin Loy Date: Wed, 6 May 2015 12:04:12 -0300 Subject: [PATCH] require vhost folder --- manifests/resource/vhost.pp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/manifests/resource/vhost.pp b/manifests/resource/vhost.pp index a4125a266..35dceab7a 100644 --- a/manifests/resource/vhost.pp +++ b/manifests/resource/vhost.pp @@ -495,10 +495,11 @@ } 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)