require conf.d folder

This commit is contained in:
Martin Loy 2015-05-06 12:03:26 -03:00
parent 3f95e281b9
commit 23fe0404c8

View file

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