add path for grep command

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
Emilien Macchi
2014-02-04 15:04:28 +01:00
parent 5653e58523
commit 82a32eaee0
13 changed files with 56 additions and 6 deletions

View File

@@ -58,6 +58,13 @@ describe 'cloud::volume::storage' do
end
it 'checks if Cinder DB is populated' do
should contain_exec('cinder_db_sync').with(
:command => '/usr/bin/cinder-manage db sync',
:unless => '/usr/bin/mysql cinder -h 10.0.0.1 -u cinder -psecrete -e "show tables" | /bin/grep Tables'
)
end
it 'configure cinder volume with rbd backend' do
should include_class('cinder::volume')