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
Cleaned up unit tests.
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
params.pp
diff --git
a/manifests/params.pp
b/manifests/params.pp
index 2f6c7238c20d9535e57bb85c5aab6e098b669b80..d57b80110c8209d4511a722120096a7ae721a4b2 100644
(file)
--- a/
manifests/params.pp
+++ b/
manifests/params.pp
@@
-11,7
+11,9
@@
class apt::params {
'squeeze': {
$backports_location = 'http://backports.debian.org/debian-backports'
$legacy_origin = true
'squeeze': {
$backports_location = 'http://backports.debian.org/debian-backports'
$legacy_origin = true
- $origins = ['${distro_id} ${distro_codename}-security']
+ $origins = ['${distro_id} oldstable',
+ '${distro_id} ${distro_codename}-security',
+ '${distro_id} ${distro_codename}-lts']
}
'wheezy': {
$backports_location = 'http://ftp.debian.org/debian/'
}
'wheezy': {
$backports_location = 'http://ftp.debian.org/debian/'
@@
-47,6
+49,9
@@
class apt::params {
}
}
}
}
}
}
+ '': {
+ fail('Unable to determine lsbdistid, is lsb-release installed?')
+ }
default: {
fail("Unsupported lsbdistid (${::lsbdistid})")
}
default: {
fail("Unsupported lsbdistid (${::lsbdistid})")
}