Merge "spec: Fix loadbalancer test"

This commit is contained in:
Jenkins
2015-03-10 12:40:49 +00:00
committed by Gerrit Code Review

View File

@@ -99,9 +99,9 @@ describe 'cloud::loadbalancer' do
end # configure keepalived server
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(
'sysctl -w net.ipv4.ip_nonlocal_bind=1'
)
is_expected.to contain_sysctl__value('net.ipv4.ip_nonlocal_bind').with({
:value => 1,
})
end
it 'do not configure an internal VRRP instance by default' do