aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/apt.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystem/apt.pp')
-rw-r--r--manifests/subsystem/apt.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/subsystem/apt.pp b/manifests/subsystem/apt.pp
index 6e1f8ac..68f3c71 100644
--- a/manifests/subsystem/apt.pp
+++ b/manifests/subsystem/apt.pp
@@ -60,6 +60,17 @@ class nodo::subsystem::apt {
},
}
+ $squeeze_lts = 'http://http.debian.net/debian/ squeeze-lts main contrib non-free'
+
+ # See https://wiki.debian.org/LTS/Development#Add_squeeze-lts_to_your_sources.list
+ ::apt::sources_list { 'squeeze-lts.list':
+ content => "deb ${squeeze_lts}\ndeb-src ${squeeze_lts}",
+ ensure => $::lsbdistcodename ? {
+ 'squeeze' => present,
+ default => absent,
+ }
+ }
+
package { 'apt-transport-https':
ensure => present,
}