Set rhizo_base:sms_db based on value of osmo_stack
This commit is contained in:
parent
635c60ffc7
commit
d8fdd6ae94
1 changed files with 5 additions and 2 deletions
|
@ -21,8 +21,6 @@ class rhizo_base {
|
|||
$notouchrepo = hiera('rhizo::notouchrepo', 0)
|
||||
$use_ups = hiera('rhizo::use_ups')
|
||||
$rhizomatica_dir = hiera('rhizo::rhizomatica_dir')
|
||||
$hlr_db = hiera('rhizo::hlr_db', '/var/lib/osmocom/hlr.db')
|
||||
$sms_db = hiera('rhizo::sms_db', '/var/lib/osmocom/sms.db')
|
||||
$use_sip = hiera('rhizo::use_sip')
|
||||
$advice_email = hiera('rhizo::advice_email')
|
||||
$charge_scheme = hiera('rhizo::charge_scheme', 'normal')
|
||||
|
@ -41,6 +39,11 @@ class rhizo_base {
|
|||
|
||||
# Network Stack
|
||||
$osmo_stack = hiera('rhizo::osmo_stack', 'nitb')
|
||||
$hlr_db = hiera('rhizo::hlr_db', '/var/lib/osmocom/hlr.db')
|
||||
$sms_db = $osmo_stack ? {
|
||||
'split' => hiera('rhizo::sms_db', '/var/lib/osmocom/sms.db'),
|
||||
default => hiera('rhizo::sms_db', '/var/lib/osmocom/hlr.sqlite3'),
|
||||
}
|
||||
|
||||
# network name
|
||||
$network_name = hiera('rhizo::network_name')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue