Merge "spec: Fix loadbalancer test"
This commit is contained in:
@@ -99,9 +99,9 @@ describe 'cloud::loadbalancer' do
|
|||||||
end # configure keepalived server
|
end # configure keepalived server
|
||||||
|
|
||||||
it 'configure sysctl to allow HAproxy to bind to a non-local IP address' do
|
it 'configure sysctl to allow HAproxy to bind to a non-local IP address' do
|
||||||
is_expected.to contain_exec('exec_sysctl_net.ipv4.ip_nonlocal_bind').with_command(
|
is_expected.to contain_sysctl__value('net.ipv4.ip_nonlocal_bind').with({
|
||||||
'sysctl -w net.ipv4.ip_nonlocal_bind=1'
|
:value => 1,
|
||||||
)
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'do not configure an internal VRRP instance by default' do
|
it 'do not configure an internal VRRP instance by default' do
|
||||||
|
Reference in New Issue
Block a user