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
Unbreak broken tests
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
params.pp
diff --git
a/manifests/params.pp
b/manifests/params.pp
index 1c6cc99de792a072e818497a9dd0b82c1f759ead..b97a8a25bf7c2e121e3d26f96d7b6d67cc283f8c 100644
(file)
--- a/
manifests/params.pp
+++ b/
manifests/params.pp
@@
-5,6
+5,10
@@
class apt::params {
$apt_conf_d = "${root}/apt.conf.d"
$preferences_d = "${root}/preferences.d"
+ if $::osfamily != 'Debian' {
+ fail('This module only works on Debian or derivatives like Ubuntu')
+ }
+
case $::lsbdistid {
'ubuntu', 'debian': {
$distid = $::lsbdistid