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 cb2d2d3005606afbcde2cc9c1b6b6ac5223a4947..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,8
+49,11
@@
class apt::params {
}
}
}
}
}
}
+ '': {
+ fail('Unable to determine lsbdistid, is lsb-release installed?')
+ }
default: {
default: {
- fail("Unsupported
osfamily (${::osfamily}) or
lsbdistid (${::lsbdistid})")
+ fail("Unsupported lsbdistid (${::lsbdistid})")
}
}
}
}
}
}