Unbreak broken tests
[puppet-modules/puppetlabs-apt.git] / manifests / params.pp
index 1c6cc99de792a072e818497a9dd0b82c1f759ead..b97a8a25bf7c2e121e3d26f96d7b6d67cc283f8c 100644 (file)
@@ -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