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:
Dan Bode
2013-05-22 00:05:00 -07:00
parent 76c3059336
commit 3c1d324ae2
2 changed files with 3 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ class openstack::test_file(
$rc_file_path = '/root/openrc',
$image_type = 'cirros',
$sleep_time = '15',
$floating_ip = true,
$floating_ip = false,
$quantum = true
) {

View File

@@ -3,5 +3,7 @@ require 'spec_helper'
describe 'openstack::test_file' do
it do
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