-
-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#310) {vrrp_,}track_file: Enforce only String datatype
Example config: ``` track_file acme { file "/var/local/vrrp_track_file" weight 1 } vrrp_instance lb_slm_test_4 { interface ens192 state MASTER virtual_router_id 4 priority 50 advert_int 1 garp_master_delay 5 track_script { access-lb } track_file { acme weight 1 } virtual_ipaddress { 127.0.0.1/27 dev eth0 } } ``` The parameter `track_file` in `keepalived::vrrp::instance` is the list `track_file`: ``` track_file { acme weight 1 } ``` This can be a random string and references a `track_file` block with that name: ``` track_file acme { file "/var/local/vrrp_track_file" weight 1 } ``` ^ is created by `keepalived::vrrp::track_file` defined resource.
- Loading branch information
1 parent
f7f4ca7
commit 63955d3
Showing
3 changed files
with
20 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters