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 955954fe89f65ea1e9e00f7aaaaf9fe5a5a610c5..b5090e0e8cd4e6f78f0dd4cb52cd41da04a5d1d7 100644
(file)
--- a/
manifests/params.pp
+++ b/
manifests/params.pp
@@
-21,13
+21,22
@@
class apt::params {
}
'ubuntu': {
case $::lsbdistcodename {
}
'ubuntu': {
case $::lsbdistcodename {
- '
hardy','lucid','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'
+ }
+ 'lucid': {
+ $backports_location = 'http://us.archive.ubuntu.com/ubuntu'
+ $ppa_options = undef
}
default: {
$backports_location = 'http://old-releases.ubuntu.com/ubuntu'
}
default: {
$backports_location = 'http://old-releases.ubuntu.com/ubuntu'
+ $ppa_options = '-y'
}
}
}
}
}
}
+ default: {
+ fail("Unsupported osfamily (${::osfamily}) or lsbdistid (${::lsbdistid})")
+ }
}
}
}
}