Merge pull request #624 from Tombar/master
Require base folder for resources
This commit is contained in:
commit
796bf63893
2 changed files with 8 additions and 6 deletions
|
@ -68,8 +68,9 @@ define nginx::resource::upstream (
|
|||
}
|
||||
|
||||
concat { "${::nginx::config::conf_dir}/conf.d/${name}-upstream.conf":
|
||||
ensure => $ensure_real,
|
||||
notify => Class['::nginx::service'],
|
||||
ensure => $ensure_real,
|
||||
notify => Class['::nginx::service'],
|
||||
require => File["${::nginx::config::conf_dir}/conf.d"]
|
||||
}
|
||||
|
||||
# Uses: $name, $upstream_cfg_prepend
|
||||
|
|
|
@ -506,10 +506,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)
|
||||
|
|
Loading…
Reference in a new issue