Merge pull request #715 from 3flex/694-deprecate-proxy_conf_template

Deprecate $proxy_conf_template
This commit is contained in:
Matthew Haughton 2015-11-05 13:22:36 -05:00
commit c728f8ce1f

View file

@ -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) {