aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-06-06 18:17:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-06-06 18:17:21 -0300
commitd9a2443c7bb4e0ba328ee66fe81b66ab841e6a79 (patch)
tree967b2f258db47ec0b55c4e3a35cac21b31e3b365 /manifests
parentb40ef6eb02be9073843a16a8ba4f3ad7ab94d425 (diff)
downloadpuppet-nodo-d9a2443c7bb4e0ba328ee66fe81b66ab841e6a79.tar.gz
puppet-nodo-d9a2443c7bb4e0ba328ee66fe81b66ab841e6a79.tar.bz2
Squeeze LTS support
Diffstat (limited to 'manifests')
-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,
}