keepalived icon indicating copy to clipboard operation
keepalived copied to clipboard

notify_master is duplicated on keepalived_vrrp_instance resources

Open john-scalingo opened this issue 4 months ago • 2 comments

:ghost: Brief Description

On vrrp_instances the notify_master script is duplicated.

:pancakes: Cookbook version

On versions after v4.0.0

Steps To Reproduce

Create an instance:

keepalived_vrrp_instance 'inside_network' do
  master true
  interface node['network']['default_interface']
  virtual_router_id 51
  priority 101
  authentication auth_type: 'PASS', auth_pass: 'secret1'
  virtual_ipaddress %w( 192.168.1.1 )
  notify_master "/tmp/test.sh"
  smtp_alert true
end

And run the cookbook. The file will contain the notify_master "/tmp/test.sh" line twice.

:police_car: Expected behavior

The generated file should contain the following line: notify_master "/tmp/test.sh" only once.

john-scalingo avatar Mar 07 '24 15:03 john-scalingo