MSC: use systemd dropin override

Use override file instead of writing the unit service file directly.
This commit is contained in:
Keith Whyte 2020-10-21 18:18:49 +02:00
parent 3f437e3c6a
commit 680e0b53e2
2 changed files with 8 additions and 4 deletions

View file

@ -9,6 +9,7 @@
class rhizo_base::osmocom {
include systemd
$network_name = $rhizo_base::network_name
$mcc = $rhizo_base::mcc
$mnc = $rhizo_base::mnc
@ -131,10 +132,10 @@ class rhizo_base::osmocom {
require => Package['osmo-sip-connector'],
}
file { '/lib/systemd/system/osmo-msc.service':
ensure => present,
source => 'puppet:///modules/rhizo_base/systemd/osmo-msc.service',
}
systemd::dropin_file { 'override.conf':
unit => 'osmo-msc.service',
source => 'puppet:///modules/rhizo_base/systemd/osmo-msc.override'
}
file { '/lib/systemd/system/osmo-mgw-msc.service':
ensure => present,