Deprecate $proxy_conf_template

This parameter has no effect as of #642
This commit is contained in:
Matthew Haughton 2015-11-05 11:13:50 -05:00
parent 01f914df3d
commit d034b302f2

View file

@ -38,7 +38,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 ###
@ -119,6 +119,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) {