Update osmo-hlr

Also restart the service on package update
This commit is contained in:
Keith Whyte 2023-01-10 00:48:41 +01:00
parent 34dc965338
commit b678d91563
2 changed files with 11 additions and 3 deletions

View file

@ -34,7 +34,7 @@ class rhizo_base::osmocom::buster inherits rhizo_base::osmocom::common {
} }
package { [ 'osmo-hlr', 'libosmo-mslookup0', 'osmo-mslookup-utils', package { [ 'osmo-hlr', 'libosmo-mslookup0', 'osmo-mslookup-utils',
'libosmo-gsup-client0' ]: 'libosmo-gsup-client0' ]:
ensure => '1.5.0+rhizo4b', ensure => '1.5.0+rhizo5b',
require => Class['rhizo_base::apt'], require => Class['rhizo_base::apt'],
} }
} }
@ -62,7 +62,7 @@ class rhizo_base::osmocom::stretch inherits rhizo_base::osmocom::common {
} }
package { [ 'osmo-hlr', 'libosmo-mslookup0', 'osmo-mslookup-utils', package { [ 'osmo-hlr', 'libosmo-mslookup0', 'osmo-mslookup-utils',
'libosmo-gsup-client0' ]: 'libosmo-gsup-client0' ]:
ensure => '1.5.0+rhizo4s', ensure => '1.5.0+rhizo5s',
require => Class['rhizo_base::apt'], require => Class['rhizo_base::apt'],
} }
} }
@ -212,7 +212,14 @@ class rhizo_base::osmocom::common {
target => '../../python3/dist-packages/osmopy' target => '../../python3/dist-packages/osmopy'
} }
service { [ 'osmo-stp', 'osmo-hlr', 'osmo-bsc', service { 'osmo-hlr':
provider => 'systemd',
enable => true,
ensure => 'running',
subscribe => Package['osmo-hlr'],
}
service { [ 'osmo-stp', 'osmo-bsc',
'osmo-msc', 'osmo-mgw', 'osmo-msc', 'osmo-mgw',
'osmo-sgsn', 'osmo-sip-connector' ]: 'osmo-sgsn', 'osmo-sip-connector' ]:
provider => 'systemd', provider => 'systemd',

View file

@ -62,6 +62,7 @@ mslookup
mdns bind 239.192.23.42 4266 mdns bind 239.192.23.42 4266
service sip.voice at <%= @vpn_ip_address %> 5060 service sip.voice at <%= @vpn_ip_address %> 5060
service smpp.sms at <%= @vpn_ip_address %> 2775 service smpp.sms at <%= @vpn_ip_address %> 2775
max-age 14400
client client
mdns bind 239.192.23.42 4266 mdns bind 239.192.23.42 4266
timeout 1500 timeout 1500