From 58b73ef6b844d23bd0f0d61f0410cb903ef96771 Mon Sep 17 00:00:00 2001 From: Keith Whyte Date: Sun, 10 Jul 2022 04:06:52 +0200 Subject: [PATCH] Remove PRAGMA commands on databases --- modules/rhizo_base/manifests/osmocom.pp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/modules/rhizo_base/manifests/osmocom.pp b/modules/rhizo_base/manifests/osmocom.pp index f80edcd..3381cef 100644 --- a/modules/rhizo_base/manifests/osmocom.pp +++ b/modules/rhizo_base/manifests/osmocom.pp @@ -68,7 +68,6 @@ class rhizo_base::osmocom { package { [ 'osmo-msc' ]: ensure => 'installed', require => Class['rhizo_base::apt'], - notify => Exec['sms_pragma_wal'] } package { [ 'libsmpp1', 'libosmo-sigtran7' ]: @@ -78,7 +77,6 @@ class rhizo_base::osmocom { package { [ 'osmo-hlr' ]: ensure => 'installed', require => Class['rhizo_base::apt'], - notify => Exec['hlr_pragma_wal'] } $sipcon_version = $repo ? { @@ -219,20 +217,6 @@ class rhizo_base::osmocom { ensure => 'stopped' } - exec { 'hlr_pragma_wal': - command => - '/usr/bin/sqlite3 /var/lib/osmocom/hlr.db "PRAGMA journal_mode=wal;"', - require => Class['rhizo_base::packages'], - refreshonly => true, - } - - exec { 'sms_pragma_wal': - command => - '/usr/bin/sqlite3 /var/lib/osmocom/sms.db "PRAGMA journal_mode=wal;"', - require => Class['rhizo_base::packages'], - refreshonly => true, - } - exec { 'notify-osmo-restart': command => '/bin/echo 1 > /tmp/OSMO-dirty', refreshonly => true,