From 24fdef4cd0a61e715808f421c335aae1f96503ee Mon Sep 17 00:00:00 2001 From: Keith Whyte Date: Wed, 4 Jan 2023 04:32:19 +0100 Subject: [PATCH] Fix for nightly repo option --- modules/rhizo_base/manifests/osmocom.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/rhizo_base/manifests/osmocom.pp b/modules/rhizo_base/manifests/osmocom.pp index 96ead0a..87d8b83 100644 --- a/modules/rhizo_base/manifests/osmocom.pp +++ b/modules/rhizo_base/manifests/osmocom.pp @@ -13,7 +13,7 @@ class rhizo_base::osmocom { class rhizo_base::osmocom::buster inherits rhizo_base::osmocom::common { - package { [ "osmocom-latest" ]: + package { [ "osmocom-$repo" ]: ensure => 'installed' } package { [ 'osmo-bsc', 'osmo-bsc-meas-utils' ]: @@ -25,7 +25,7 @@ class rhizo_base::osmocom::buster inherits rhizo_base::osmocom::common { ensure => '1.9.0+rhizo7b', } package { [ 'osmo-sgsn' ]: - ensure => '1.9.0', + ensure => "$repo" ? { "latest" => '1.9.0', "nightly" => "installed" }, require => Class['rhizo_base::apt'], } package { [ 'osmo-sip-connector' ]: