From 0b2dafe094e29c74089e5090c2f82aacbf27a4f4 Mon Sep 17 00:00:00 2001 From: Keith Whyte Date: Fri, 31 Mar 2023 05:35:52 +0200 Subject: [PATCH] write semaphore file for bsc restart on config change --- modules/rhizo_base/manifests/osmocom.pp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/modules/rhizo_base/manifests/osmocom.pp b/modules/rhizo_base/manifests/osmocom.pp index 316e4a6..2429bc4 100644 --- a/modules/rhizo_base/manifests/osmocom.pp +++ b/modules/rhizo_base/manifests/osmocom.pp @@ -135,13 +135,10 @@ class rhizo_base::osmocom::common { 'rhizo_base/osmo-bsc-head.erb', 'rhizo_base/osmo-bsc-bts.erb', 'rhizo_base/osmo-bsc-tail.erb'), - } + notify => Exec['notify-osmo-restart'], + } } - # We used to notify the osmo-nitb on config changes for a restart - # but with the service outage that restarting the split stack entails, - # I don't want to even give puppet the possibility to do that. - file { '/etc/osmocom/stack': source => 'puppet:///modules/rhizo_base/stack', owner => 'root',