Remove PRAGMA commands on databases
This commit is contained in:
parent
c584d22137
commit
58b73ef6b8
1 changed files with 0 additions and 16 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue