puppet-etherpad_lite/templates
Colleen Murphy cec0248653 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
manifest cannot be found when it is referenced in
the httpd::vhost defined type and will be evaluated as nil when
puppet runs. Use the scope object instead to be explicit about the
variable's source. The scope object and scope.lookupvar return :undef
instead of nil if the variable is undefined, and we expect it to
sometimes be undefined, so handle that too.

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

Change-Id: Ie9d943424aafa5d1d09586dc2cb61441c6d2628b
2018-04-28 00:55:00 +02:00
..
etherpad-lite.service.erb Xenial: add a service file 2017-12-20 14:57:00 +11:00
etherpad-lite_settings.json.erb Add missing Gemfile to the project 2016-03-11 13:50:36 +01:00
etherpadlite.vhost.erb Fix scope of vhost template variables 2018-04-28 00:55:00 +02:00
upstart.erb Set higher nofile limit for node in init script 2015-10-27 00:13:29 -07:00