Add spec testing for multiple bind_port

Adds simple spec test for multiple ports in
the bind_port. The change in puppet-keystone
will need to support multiple ports so we
ensure nobody breaks this.

Change-Id: Ie2ab4641b0829b872fee0dea3aab236455eb3266
This commit is contained in:
Tobias Urdin 2018-12-03 12:27:55 +01:00
parent 1c99679e07
commit 6eaab435b2

View File

@ -189,6 +189,14 @@ describe 'openstacklib::wsgi::apache' do
},
)}
end
context 'with multiple ports' do
before do
params.merge!( :bind_port => [35357, 5000] )
end
it { should contain_apache__vhost('keystone_wsgi').with_port(params[:bind_port]) }
end
end
on_supported_os({