Revert "Require base folder for resources"
This commit is contained in:
parent
e87bdfafda
commit
7733db5432
2 changed files with 6 additions and 8 deletions
|
@ -68,9 +68,8 @@ 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"]
|
||||
ensure => $ensure_real,
|
||||
notify => Class['::nginx::service'],
|
||||
}
|
||||
|
||||
# Uses: $name, $upstream_cfg_prepend
|
||||
|
|
|
@ -518,11 +518,10 @@ define nginx::resource::vhost (
|
|||
}
|
||||
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue