From f83e35d851e15670de42c902d123a95bcbbd35b5 Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Thu, 26 Apr 2018 21:42:45 +0200 Subject: [PATCH] Use instance variables in puppet template Using local ruby variables in puppet ERB templates was deprecated in puppet 3 and doesn't work any more in puppet 4. Access these values as ruby instance variables instead. Change-Id: I08719ec561169c494091f8dced4eab6d5c183b9b --- .../templates/reprepro/distributions.ubuntu-cloud-archive.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openstack_project/templates/reprepro/distributions.ubuntu-cloud-archive.erb b/modules/openstack_project/templates/reprepro/distributions.ubuntu-cloud-archive.erb index 470b446748..c5b6ea1c46 100644 --- a/modules/openstack_project/templates/reprepro/distributions.ubuntu-cloud-archive.erb +++ b/modules/openstack_project/templates/reprepro/distributions.ubuntu-cloud-archive.erb @@ -1,4 +1,4 @@ -<% releases.each do |distro_codename, openstack_codenames| -%> +<% @releases.each do |distro_codename, openstack_codenames| -%> <% openstack_codenames.each do |openstack_codename| -%> Origin: Canonical Codename: <%= distro_codename %>-updates/<%= openstack_codename %>