diff --git a/manifests/resource/upstream.pp b/manifests/resource/upstream.pp index bfdfa3a8d..c74492a64 100644 --- a/manifests/resource/upstream.pp +++ b/manifests/resource/upstream.pp @@ -68,9 +68,8 @@ } concat { "${::nginx::config::conf_dir}/conf.d/${name}-upstream.conf": - ensure => $ensure_real, - notify => Class['::nginx::service'], - require => File["${::nginx::config::conf_dir}/conf.d"] + ensure => $ensure_real, + notify => Class['::nginx::service'], } # Uses: $name, $upstream_cfg_prepend diff --git a/manifests/resource/vhost.pp b/manifests/resource/vhost.pp index 95a55f53d..629be52e7 100644 --- a/manifests/resource/vhost.pp +++ b/manifests/resource/vhost.pp @@ -518,11 +518,10 @@ } concat { $config_file: - owner => $owner, - group => $group, - mode => $mode, - notify => Class['::nginx::service'], - require => File[$vhost_dir] + owner => $owner, + group => $group, + mode => $mode, + notify => Class['::nginx::service'], } $ssl_only = ($ssl == true) and ($ssl_port == $listen_port)