]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
MODULES-1827 adding Cumulus Linux detection
authorLeslie Carr <geekgirl@gmail.com>
Fri, 6 Mar 2015 00:56:03 +0000 (16:56 -0800)
committerLeslie Carr <geekgirl@gmail.com>
Fri, 6 Mar 2015 00:56:03 +0000 (16:56 -0800)
the apt module did not correctly detect Cumulus Linux with lsbdistid.
This change adds several lines in params.pp to detect Cumulus Linux and
set $distid and $distcodename

manifests/params.pp

index 1c6cc99de792a072e818497a9dd0b82c1f759ead..f824c9107b63d8bc28cba69cd85af59f6153c92b 100644 (file)
@@ -25,6 +25,10 @@ class apt::params {
         }
       }
     }
+    'Cumulus Networks': {
+      $distid = 'debian'
+      $distcodename = $::lsbdistcodename
+    }
     '': {
       fail('Unable to determine lsbdistid, is lsb-release installed?')
     }