summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis-Philippe VĂ©ronneau <pollito@riseup.net>2017-02-24 15:44:21 -0500
committerLouis-Philippe VĂ©ronneau <pollito@riseup.net>2017-02-24 15:44:21 -0500
commitf447904e47c14f287283d8a3de9fb17033ccafdb (patch)
tree2148ddbd94c2e02074e61f23e53be032dc9de247
parent5e9099b77546a77492402b4003bc9e002bcc4650 (diff)
fix variable name (bis)
-rw-r--r--templates/Debian/lts.erb4
-rw-r--r--templates/Debian/stable.erb4
-rw-r--r--templates/Debian/volatile.erb4
3 files changed, 6 insertions, 6 deletions
diff --git a/templates/Debian/lts.erb b/templates/Debian/lts.erb
index 74281b6..3ed2f51 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 <%= codename %>-lts
+Explanation: Debian <%= debian_codename %>-lts
Package: *
-Pin: release o=Debian,n=<%= codename %>-lts
+Pin: release o=Debian,n=<%= debian_codename %>-lts
Pin-Priority: 990
diff --git a/templates/Debian/stable.erb b/templates/Debian/stable.erb
index df84fce..0acfc8f 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 <%= codename=scope.lookupvar('::debian_codename') %>
+Explanation: Debian <%= debian_codename %>
Package: *
-Pin: release o=Debian,n=<%= codename %>
+Pin: release o=Debian,n=<%= debian_codename %>
Pin-Priority: 990
diff --git a/templates/Debian/volatile.erb b/templates/Debian/volatile.erb
index 1654abe..5014e01 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 <%= codename %>-updates
+Explanation: Debian <%= debian_codename %>-updates
Package: *
-Pin: release o=Debian,n=<%= codename %>-updates
+Pin: release o=Debian,n=<%= debian_codename %>-updates
Pin-Priority: 990