Modifications to Split Stack Config

Setup params needed for dGSM
This commit is contained in:
Keith Whyte 2021-03-01 12:09:43 +01:00
parent 1176683f7c
commit f14e2c7a04
6 changed files with 38 additions and 3 deletions

View file

@ -27,7 +27,11 @@ class rhizo_base::osmocom {
$sgsn_ip_address = hiera('rhizo::sgsn_ip_address')
$ggsn_ip_address = hiera('rhizo::ggsn_ip_address')
$repo = hiera('rhizo::osmo_repo', 'latest')
$hlr_name = hiera('rhizo::hlr_name', $network_name)
$ipa_name = hiera('rhizo::ipa_name',
sprintf("%s-%s-%s-%s", $mcc, $mnc, $bts[0]['lac'],
regsubst($vpn_ip_address,
'^(\\d+)\\.(\\d+)\\.(\\d+)\\.(\\d+)$',
'\\3-\\4')))
package { [ 'osmo-stp', 'osmo-mgw', 'osmo-sgsn' ]:
ensure => 'installed',
@ -150,6 +154,19 @@ class rhizo_base::osmocom {
source => 'puppet:///modules/rhizo_base/systemd/osmo-msc.override'
}
systemd::dropin_file { 'hlr-override':
unit => 'osmo-hlr.service',
filename => 'override.conf',
source => 'puppet:///modules/rhizo_base/systemd/osmo-hlr.override'
}
file { '/etc/tinc/check_mdns_route':
ensure => present,
source => 'puppet:///modules/rhizo_base/check_mdns_route',
mode => '0750'
}
file { '/lib/systemd/system/osmo-mgw-msc.service':
ensure => present,
source => 'puppet:///modules/rhizo_base/systemd/osmo-mgw-msc.service',