Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Remove hardy, maverick, natty
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
params.pp
diff --git
a/manifests/params.pp
b/manifests/params.pp
index ae464436dadefdc3a451302ca5819db596f072ca..b5090e0e8cd4e6f78f0dd4cb52cd41da04a5d1d7 100644
(file)
--- a/
manifests/params.pp
+++ b/
manifests/params.pp
@@
-21,9
+21,9
@@
class apt::params {
}
'ubuntu': {
case $::lsbdistcodename {
}
'ubuntu': {
case $::lsbdistcodename {
- '
hardy','maverick','natty','oneiric','precise
': {
+ '
oneiric','precise','trusty
': {
$backports_location = 'http://us.archive.ubuntu.com/ubuntu'
$backports_location = 'http://us.archive.ubuntu.com/ubuntu'
- $ppa_options = 'y'
+ $ppa_options = '
-
y'
}
'lucid': {
$backports_location = 'http://us.archive.ubuntu.com/ubuntu'
}
'lucid': {
$backports_location = 'http://us.archive.ubuntu.com/ubuntu'
@@
-31,9
+31,12
@@
class apt::params {
}
default: {
$backports_location = 'http://old-releases.ubuntu.com/ubuntu'
}
default: {
$backports_location = 'http://old-releases.ubuntu.com/ubuntu'
- $ppa_options = 'y'
+ $ppa_options = '
-
y'
}
}
}
}
}
}
+ default: {
+ fail("Unsupported osfamily (${::osfamily}) or lsbdistid (${::lsbdistid})")
+ }
}
}
}
}