Merge pull request #715 from 3flex/694-deprecate-proxy_conf_template
Deprecate $proxy_conf_template
This commit is contained in:
commit
c728f8ce1f
1 changed files with 4 additions and 1 deletions
|
@ -39,7 +39,7 @@ class nginx::config(
|
|||
|
||||
# Primary Templates
|
||||
$conf_template = 'nginx/conf.d/nginx.conf.erb',
|
||||
$proxy_conf_template = 'nginx/conf.d/proxy.conf.erb',
|
||||
$proxy_conf_template = undef,
|
||||
### END Module/App Configuration ###
|
||||
|
||||
### START Nginx Configuration ###
|
||||
|
@ -122,6 +122,9 @@ class nginx::config(
|
|||
if ($proxy_http_version != undef) {
|
||||
validate_string($proxy_http_version)
|
||||
}
|
||||
if ($proxy_conf_template != undef) {
|
||||
warn('The $proxy_conf_template parameter is deprecated and has no effect.')
|
||||
}
|
||||
validate_bool($confd_purge)
|
||||
validate_bool($vhost_purge)
|
||||
if ($proxy_cache_path != false) {
|
||||
|
|
Loading…
Reference in a new issue