set floating_ip in test_file to false
it should not be set to true by default b/c quantum is true and this is not compatible. Change-Id: I9d6d26070c4f14a832961baf32c66baeb1d000d1
This commit is contained in:
@@ -18,7 +18,7 @@ class openstack::test_file(
|
|||||||
$rc_file_path = '/root/openrc',
|
$rc_file_path = '/root/openrc',
|
||||||
$image_type = 'cirros',
|
$image_type = 'cirros',
|
||||||
$sleep_time = '15',
|
$sleep_time = '15',
|
||||||
$floating_ip = true,
|
$floating_ip = false,
|
||||||
$quantum = true
|
$quantum = true
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
@@ -3,5 +3,7 @@ require 'spec_helper'
|
|||||||
describe 'openstack::test_file' do
|
describe 'openstack::test_file' do
|
||||||
it do
|
it do
|
||||||
should contain_file('/tmp/test_nova.sh').with_mode('0751')
|
should contain_file('/tmp/test_nova.sh').with_mode('0751')
|
||||||
|
should_not contain_file('/tmp/test_nova.sh').with_content(/add-floating-ip/)
|
||||||
|
should contain_file('/tmp/test_nova.sh').with_content(/floatingip-create/)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user