spec: Fix loadbalancer test
Current implementation of rspec-test tests the actual implementation of the puppet-sysctl when it should actually only the the API. We recently changed the commit of the puppet-sysctl[1] module we are using and the module itself changed its implemention of how it was doing things[2]. [1]2996f12d55
[2]3eca30a6dc
Change-Id: Ia79058e41ce8bfb52adc0c338a8b8594637d7e01
This commit is contained in:
parent
d32ee81ca7
commit
656920f003
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user