Skip to content

Commit

Permalink
Adding iface_sync
Browse files Browse the repository at this point in the history
  • Loading branch information
rgomezborder committed Oct 8, 2024
1 parent 5aa455d commit 243eb0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/providers/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
manager_services = new_resource.manager_services
ipmgt = new_resource.ipmgt
iface = new_resource.iface_management
iface_sync = new_resource.iface_sync
ipaddress_sync = new_resource.ipaddress_sync
managers_per_service = new_resource.managers_per_service

Expand Down Expand Up @@ -70,7 +71,7 @@
mode '0644'
retries 2
notifies :reload, 'service[keepalived]'
variables(vrrp_password: vrrp_secrets['pass'], managers: managers, start_id: vrrp_secrets['start_id'], balanced_services: balanced_services, virtual_ips: virtual_ips, virtual_ips_per_ip: virtual_ips_per_ip, has_any_virtual_ip: has_any_virtual_ip, manager_services: manager_services, ipmgt: ipmgt, iface: iface, ipsync: ipaddress_sync, managers_per_service: managers_per_service)
variables(vrrp_password: vrrp_secrets['pass'], managers: managers, start_id: vrrp_secrets['start_id'], balanced_services: balanced_services, virtual_ips: virtual_ips, virtual_ips_per_ip: virtual_ips_per_ip, has_any_virtual_ip: has_any_virtual_ip, manager_services: manager_services, ipmgt: ipmgt, iface: iface, ipsync: ipaddress_sync, managers_per_service: managers_per_service, iface_sync: iface_sync)
end

ips_added = {}
Expand Down
1 change: 1 addition & 0 deletions resources/resources/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@
attribute :manager_services, kind_of: Hash, default: {}
attribute :ipmgt, kind_of: String, default: '127.0.0.1'
attribute :iface_management, kind_of: String, default: ''
attribute :iface_sync, kind_of: String, default: ''
attribute :ipaddress_sync, kind_of: String, default: '127.0.0.1'
attribute :managers_per_service, kind_of: Hash, default: {}

0 comments on commit 243eb0f

Please sign in to comment.