Fix typo in all.pp and add test
Change-Id: I03d560902b356d5eb510d719b9fc9582b07ada88 Signed-off-by: Konrad Scherer <kmscherer@gmail.com>
This commit is contained in:
@@ -315,7 +315,7 @@ class openstack::all (
|
|||||||
}
|
}
|
||||||
|
|
||||||
if $auto_assign_floating_ip {
|
if $auto_assign_floating_ip {
|
||||||
nova_config { 'DEFUALT/auto_assign_floating_ip': value => 'True' }
|
nova_config { 'DEFAULT/auto_assign_floating_ip': value => 'True' }
|
||||||
}
|
}
|
||||||
|
|
||||||
class { [
|
class { [
|
||||||
|
@@ -82,4 +82,11 @@ describe 'openstack::all' do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
context 'when auto assign floating ip is assigned' do
|
||||||
|
before do
|
||||||
|
params.merge!(:auto_assign_floating_ip => 'true')
|
||||||
|
end
|
||||||
|
it { should contain_nova_config('DEFAULT/auto_assign_floating_ip').with(:value => 'True')}
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user