Revert "Require base folder for resources"

This commit is contained in:
Matthew Haughton 2015-06-12 22:05:09 -04:00
parent e87bdfafda
commit 7733db5432
2 changed files with 6 additions and 8 deletions

View file

@ -70,7 +70,6 @@ define nginx::resource::upstream (
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"]
}
# Uses: $name, $upstream_cfg_prepend

View file

@ -522,7 +522,6 @@ 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)