Merge "Fix path for cinder-manage"

This commit is contained in:
Zuul 2019-03-24 05:37:37 +00:00 committed by Gerrit Code Review
commit 07b6df873e
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ class cinder::db::sync(
exec { 'cinder-manage db_sync':
command => "cinder-manage ${extra_params} db sync",
path => '/usr/bin',
path => ['/bin', '/usr/bin'],
user => 'cinder',
refreshonly => true,
try_sleep => 5,

View File

@ -6,7 +6,7 @@ describe 'cinder::db::sync' do
is_expected.to contain_exec('cinder-manage db_sync').with(
:command => 'cinder-manage db sync',
:user => 'cinder',
:path => '/usr/bin',
:path => ['/bin', '/usr/bin'],
:refreshonly => 'true',
:try_sleep => 5,
:tries => 10,
@ -30,7 +30,7 @@ describe 'cinder::db::sync' do
is_expected.to contain_exec('cinder-manage db_sync').with(
:command => 'cinder-manage --config-file /etc/cinder/cinder.conf db sync',
:user => 'cinder',
:path => '/usr/bin',
:path => ['/bin', '/usr/bin'],
:refreshonly => 'true',
:try_sleep => 5,
:tries => 10,