Update db-sync command
Change-Id: Id3d72c6f34e697a1c90d52b192ca81d0ec4f0552
This commit is contained in:
parent
a5d39bd178
commit
528d14b4c3
@ -15,7 +15,7 @@ class vitrage::db::sync(
|
||||
include ::vitrage::deps
|
||||
|
||||
exec { 'vitrage-db-sync':
|
||||
command => "vitrage-manage db_sync ${extra_params}",
|
||||
command => "vitrage-dbsync ${extra_params}",
|
||||
path => '/usr/bin',
|
||||
user => 'vitrage',
|
||||
refreshonly => true,
|
||||
|
@ -18,6 +18,8 @@ describe 'basic vitrage' do
|
||||
}
|
||||
'RedHat': {
|
||||
include ::openstack_integration::vitrage
|
||||
# until it's managed in p-o-i
|
||||
include ::vitrage::db::sync
|
||||
}
|
||||
default: {
|
||||
fail("Unsupported osfamily (${::osfamily})")
|
||||
|
@ -6,7 +6,7 @@ describe 'vitrage::db::sync' do
|
||||
|
||||
it 'runs vitrage-manage db sync' do
|
||||
is_expected.to contain_exec('vitrage-db-sync').with(
|
||||
:command => 'vitrage-manage db_sync ',
|
||||
:command => 'vitrage-dbsync ',
|
||||
:user => 'vitrage',
|
||||
:path => '/usr/bin',
|
||||
:refreshonly => 'true',
|
||||
@ -29,7 +29,7 @@ describe 'vitrage::db::sync' do
|
||||
|
||||
it {
|
||||
is_expected.to contain_exec('vitrage-db-sync').with(
|
||||
:command => 'vitrage-manage db_sync --config-file /etc/vitrage/vitrage.conf',
|
||||
:command => 'vitrage-dbsync --config-file /etc/vitrage/vitrage.conf',
|
||||
:user => 'vitrage',
|
||||
:path => '/usr/bin',
|
||||
:refreshonly => 'true',
|
||||
|
Loading…
x
Reference in New Issue
Block a user