From 4802a6fc776122d1ea77f1a5904b78442dcc205f Mon Sep 17 00:00:00 2001 From: Leslie Carr Date: Thu, 5 Mar 2015 16:56:03 -0800 Subject: [PATCH] MODULES-1827 adding Cumulus Linux detection 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manifests/params.pp b/manifests/params.pp index 1c6cc99..f824c91 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -25,6 +25,10 @@ class apt::params { } } } + 'Cumulus Networks': { + $distid = 'debian' + $distcodename = $::lsbdistcodename + } '': { fail('Unable to determine lsbdistid, is lsb-release installed?') } -- 2.32.3