summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis-Philippe VĂ©ronneau <pollito@riseup.net>2017-02-24 18:17:34 -0500
committerLouis-Philippe VĂ©ronneau <pollito@riseup.net>2017-02-24 18:17:34 -0500
commit4a261733172f2699b217ea6d43ec9ee09a32c72d (patch)
treeb76b03a4c226d47605c30f8821711d09ec2f3825
parent416103f0625d67cb4056fe1d92775d1685966799 (diff)
define variables in templates with the right style
-rw-r--r--templates/Debian/lts.erb4
-rw-r--r--templates/Debian/nextcodename.erb4
-rw-r--r--templates/Debian/stable.erb4
-rw-r--r--templates/Debian/volatile.erb4
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