1 #Author: Andrew Woodward <awoodward@mirantis.com>
5 describe 'cinder::type_set' do
12 :os_password => 'asdf',
13 :os_tenant_name => 'admin',
14 :os_username => 'admin',
15 :os_auth_url => 'http://127.127.127.1:5000/v2.0/',
19 it 'should have its execs' do
20 should contain_exec('cinder type-key sith set monchichi=hippo').with(
21 :command => 'cinder type-key sith set monchichi=hippo',
22 :unless => "cinder extra-specs-list | grep -Eq '\\bsith\\b.*\\bmonchichi\\b.*\\bhippo\\b'",
24 'OS_TENANT_NAME=admin',
27 'OS_AUTH_URL=http://127.127.127.1:5000/v2.0/'],
28 :require => 'Package[python-cinderclient]')