From 4a261733172f2699b217ea6d43ec9ee09a32c72d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis-Philippe=20V=C3=A9ronneau?= Date: Fri, 24 Feb 2017 18:17:34 -0500 Subject: define variables in templates with the right style --- templates/Debian/lts.erb | 4 ++-- templates/Debian/nextcodename.erb | 4 ++-- templates/Debian/stable.erb | 4 ++-- templates/Debian/volatile.erb | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/templates/Debian/lts.erb b/templates/Debian/lts.erb index 3ed2f51..a77835e 100644 --- a/templates/Debian/lts.erb +++ b/templates/Debian/lts.erb @@ -1,7 +1,7 @@ # This file is managed by puppet # all local modifications will be overwritten -Explanation: Debian <%= debian_codename %>-lts +Explanation: Debian <%= @debian_codename %>-lts Package: * -Pin: release o=Debian,n=<%= debian_codename %>-lts +Pin: release o=Debian,n=<%= @debian_codename %>-lts Pin-Priority: 990 diff --git a/templates/Debian/nextcodename.erb b/templates/Debian/nextcodename.erb index 0810412..2bec9ad 100644 --- a/templates/Debian/nextcodename.erb +++ b/templates/Debian/nextcodename.erb @@ -1,7 +1,7 @@ # This file is managed by puppet # all local modifications will be overwritten -Explanation: Debian <%= debian_nextcodename %> +Explanation: Debian <%= @debian_nextcodename %> Package: * -Pin: release o=Debian,n=<%= debian_nextcodename %> +Pin: release o=Debian,n=<%= @debian_nextcodename %> Pin-Priority: 2 diff --git a/templates/Debian/stable.erb b/templates/Debian/stable.erb index 0acfc8f..be05e51 100644 --- a/templates/Debian/stable.erb +++ b/templates/Debian/stable.erb @@ -1,7 +1,7 @@ # This file is managed by puppet # all local modifications will be overwritten -Explanation: Debian <%= debian_codename %> +Explanation: Debian <%= @debian_codename %> Package: * -Pin: release o=Debian,n=<%= debian_codename %> +Pin: release o=Debian,n=<%= @debian_codename %> Pin-Priority: 990 diff --git a/templates/Debian/volatile.erb b/templates/Debian/volatile.erb index 5014e01..47ec2d8 100644 --- a/templates/Debian/volatile.erb +++ b/templates/Debian/volatile.erb @@ -1,7 +1,7 @@ # This file is managed by puppet # all local modifications will be overwritten -Explanation: Debian <%= debian_codename %>-updates +Explanation: Debian <%= @debian_codename %>-updates Package: * -Pin: release o=Debian,n=<%= debian_codename %>-updates +Pin: release o=Debian,n=<%= @debian_codename %>-updates Pin-Priority: 990 -- cgit v1.2.3