Adding skeleton support for Debian 11

This commit is contained in:
Monocots 2023-01-27 05:40:18 +00:00
parent fd7cdfdcd9
commit 21c87c6c01
5 changed files with 14 additions and 2 deletions

View file

@ -20,6 +20,7 @@ class rhizo_base::apt::common {
$osmo_repo = hiera('rhizo::osmo_repo', 'latest')
$fs_version = "${lsbdistcodename}" ? {
'bullseye' => '1.8.6',
'buster' => '1.8.6',
'stretch' => '1.6.20',
}
@ -79,6 +80,9 @@ class rhizo_base::apt::common {
}
}
class rhizo_base::apt::bullseye inherits rhizo_base::apt::buster {
}
class rhizo_base::apt::buster inherits rhizo_base::apt::common {
apt::source { 'irontec':

View file

@ -121,6 +121,7 @@ class rhizo_base::freeswitch::common {
$upstream_codec = $rhizo_base::upstream_codec
$fs_version = "${lsbdistcodename}" ? {
'bullseye' => '1.8.6',
'buster' => '1.8.6',
'stretch' => '1.6.20',
}

View file

@ -32,8 +32,9 @@ class rhizo_base::kiwi {
package {
['nodejs']:
ensure => $lsbdistcodename ? {
"stretch" => '0.10.48-1nodesource1~jessie1',
"buster" => '10.24.0~dfsg-1~deb10u2',
"stretch" => '0.10.48-1nodesource1~jessie1',
"buster" => '10.24.0~dfsg-1~deb10u2',
"bullseye"=> "12.22.5~dfsg-2~11u1"
},
require => Class['rhizo_base::apt'],
}

View file

@ -11,6 +11,9 @@ class rhizo_base::osmocom {
contain "rhizo_base::osmocom::$lsbdistcodename"
}
class rhizo_base::osmocom::bullseye inherits rhizo_base::osmocom::buster {
}
class rhizo_base::osmocom::buster inherits rhizo_base::osmocom::common {
package { [ "osmocom-$repo" ]:

View file

@ -54,6 +54,9 @@ class rhizo_base::packages::common {
}
class rhizo_base::packages::bullseye inherits rhizo_base::packages::buster {
}
class rhizo_base::packages::buster inherits rhizo_base::packages::common {
package { ['libcdk5nc6', 'msmtp-mta', 'ncat' ]: