Fix db-sync
This fixes the command used to sync zaqar database. Change-Id: I9e57885796a6ba2efe8d7a16528d582163ae896a
This commit is contained in:
parent
4ddc999927
commit
d1e35d4e6b
@ -1,12 +1,12 @@
|
||||
#
|
||||
# Class to execute "zaqar-manage db_sync
|
||||
# Class to execute "zaqar-sql-db-manage upgrade head"
|
||||
#
|
||||
class zaqar::db::sync {
|
||||
|
||||
include ::zaqar::deps
|
||||
|
||||
exec { 'zaqar-db-sync':
|
||||
command => 'zaqar-manage db_sync',
|
||||
command => 'zaqar-sql-db-manage upgrade head',
|
||||
path => '/usr/bin',
|
||||
user => 'zaqar',
|
||||
refreshonly => true,
|
||||
|
3
releasenotes/notes/fix-db-sync-a31c186c92c9d684.yaml
Normal file
3
releasenotes/notes/fix-db-sync-a31c186c92c9d684.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
fixes:
|
||||
- Fix command used for db sync.
|
@ -8,7 +8,7 @@ describe 'zaqar::db::sync' do
|
||||
|
||||
it 'runs zaqar-db-sync' do
|
||||
is_expected.to contain_exec('zaqar-db-sync').with(
|
||||
:command => 'zaqar-manage db_sync',
|
||||
:command => 'zaqar-sql-db-manage upgrade head',
|
||||
:path => '/usr/bin',
|
||||
:refreshonly => 'true',
|
||||
:user => 'zaqar',
|
||||
|
Loading…
Reference in New Issue
Block a user