puppet-refstack/templates
Colleen Murphy 7580829b12 Fix scope of vhost template variables
Dynamic scoping for variables in ERB templates was removed in puppet
4[1] which means that the variables defined in the
refstack::apache::http* classes cannot be found when it is referenced in
the httpd::vhost defined type and will be evaluated as nil when
puppet runs. Use scope.lookupvar instead to be explicit about the
variable's source.

[1] https://puppet.com/docs/puppet/4.10/lang_updating_manifests.html#dynamic-scoping-in-erb

Change-Id: Ie4ebcce043c8b1ed28d42f58fe15502cac956b48
2018-04-27 20:49:12 +02:00
..
refstack.conf.erb Added option to set enable_anonymous_upload 2018-02-16 18:51:32 +00:00
refstack_http.vhost.erb Fix scope of vhost template variables 2018-04-27 20:49:12 +02:00
refstack_https.vhost.erb Fix scope of vhost template variables 2018-04-27 20:49:12 +02:00