Merge "Fix path for cinder-manage"
This commit is contained in:
commit
07b6df873e
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user