Add 16.04 to list of distributions that should use software-properties-common.
[puppet-modules/puppetlabs-apt.git] / manifests / params.pp
index 8fd658b90d6761c02b423662271523cc97afa27e..6673970870dda642967f8a0411588a0011f53029 100644 (file)
@@ -39,6 +39,7 @@ class apt::params {
 
   $update_defaults = {
     'frequency' => 'reluctantly',
+    'loglevel'  => undef,
     'timeout'   => undef,
     'tries'     => undef,
   }
@@ -108,7 +109,7 @@ class apt::params {
           $ppa_options        = '-y'
           $ppa_package        = 'python-software-properties'
         }
-        '14.04', '14.10', '15.04', '15.10': {
+        '14.04', '14.10', '15.04', '15.10', '16.04': {
           $ppa_options        = '-y'
           $ppa_package        = 'software-properties-common'
         }
@@ -119,7 +120,7 @@ class apt::params {
       }
     }
     undef: {
-      fail('Unable to determine full release number')
+      fail('Unable to determine value for fact os["name"]')
     }
     default: {
       $ppa_options = undef