[Ironic] Fix RadosGW haproxy service configuration

Fixed ports numbers and config options for baremetal listener

Implements: blueprint fuel-integrate-ironic (partially)

Change-Id: I0eea9d5c0762a28d941d17914975bff676f680f4
This commit is contained in:
Andrey Shestakov 2015-11-18 11:03:00 +02:00
parent d4f9d24cc2
commit 9e565fa855
2 changed files with 7 additions and 5 deletions

View File

@ -36,19 +36,19 @@ class openstack::ha::radosgw (
Openstack::Ha::Haproxy_service {
internal_virtual_ip => $internal_virtual_ip,
ipaddresses => $ipaddresses,
listen_port => 8080,
balancermember_port => 6780,
public_virtual_ip => $public_virtual_ip,
server_names => $server_names,
haproxy_config_options => {
'option' => ['httplog', 'httpchk GET /'],
},
}
openstack::ha::haproxy_service { 'radosgw':
order => '130',
listen_port => 8080,
balancermember_port => 6780,
public => true,
public_ssl => $public_ssl,
haproxy_config_options => {
'option' => ['httplog', 'httpchk GET /'],
},
}
if $baremetal_virtual_ip {

View File

@ -19,6 +19,8 @@ describe manifest do
it 'should declare openstack::ha::haproxy_service with name radosgw-baremetal' do
should contain_openstack__ha__haproxy_service('radosgw-baremetal').with(
'order' => '135',
'listen_port' => 8080,
'balancermember_port' => 6780,
'public_virtual_ip' => false,
'internal_virtual_ip' => baremetal_virtual_ip
)