apt: Add settings, keys and ppas.
[puppet-modules/puppetlabs-apt.git] / manifests / ppa.pp
index 4a08dce6fd413134590962f8ad11091b171f5958..33cd60d586c1b7d42e9357edca8f7904abf07d13 100644 (file)
@@ -10,8 +10,8 @@ define apt::ppa(
     fail('lsbdistcodename fact not available: release parameter required')
   }
 
-  if $::operatingsystem != 'Ubuntu' {
-    fail('apt::ppa is currently supported on Ubuntu only.')
+  if $::apt::distid != 'ubuntu' {
+    fail('apt::ppa is currently supported on Ubuntu and LinuxMint only.')
   }
 
   $filename_without_slashes = regsubst($name, '/', '-', 'G')