From 5f5eaf1fb57ba6950242c55f1f14a807a624a8e2 Mon Sep 17 00:00:00 2001 From: Monocots Date: Tue, 13 Oct 2020 08:53:20 +0000 Subject: [PATCH] SGSN: For sites using osmo-latest, ensure rhizo version This installs a rhizo build of the sgsn with the Radio Priority Patch Also force install deps. --- modules/rhizo_base/manifests/openbsc.pp | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/modules/rhizo_base/manifests/openbsc.pp b/modules/rhizo_base/manifests/openbsc.pp index b00e7e8..77b3cca 100644 --- a/modules/rhizo_base/manifests/openbsc.pp +++ b/modules/rhizo_base/manifests/openbsc.pp @@ -141,8 +141,22 @@ class rhizo_base::openbsc { notify => Service['osmo-sgsn'], } + $sgsn_version = $repo ? { + 'latest' => '1.6.0+rhizo1', + 'nightly' => 'latest', + default => 'installed', + } + package { [ 'osmo-sgsn' ]: - ensure => 'installed', + ensure => $sgsn_version, + require => Class['rhizo_base::apt'], + } + package { [ 'libosmo-gsup-client0' ]: + ensure => 'latest', + require => Class['rhizo_base::apt'], + } + package { [ 'libosmocore' ]: + ensure => 'latest', require => Class['rhizo_base::apt'], } }