-
-
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.
Merge pull request #340 from ecomm911/hiera_global_defs
allow hiera to define keepalived::global_defs
- Loading branch information
Showing
5 changed files
with
61 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -310,7 +310,33 @@ class { 'keepalived::global_defs': | |
vrrp_notify_fifo_script => 'your_fifo_script_path', | ||
} | ||
``` | ||
or hiera: | ||
|
||
```yaml | ||
--- | ||
keepalived::global_defs: | ||
notification_email: '[email protected]' | ||
notification_email_from: '[email protected]' | ||
smtp_server: 'localhost' | ||
smtp_connect_timeout: '60' | ||
router_id: 'your_router_instance_id' | ||
bfd_rlimit_rttime: 10000 | ||
checker_rlimit_rttime: 10000 | ||
vrrp_rlimit_rttime: 10000 | ||
bfd_priority: -20 | ||
checker_priority: -20 | ||
vrrp_priority: -20 | ||
bfd_rt_priority: 50 | ||
checker_rt_priority: 50 | ||
vrrp_rt_priority: 50 | ||
bfd_no_swap: true | ||
checker_no_swap: true | ||
vrrp_no_swap: true | ||
vrrp_version: 3 | ||
max_auto_priority: 99 | ||
vrrp_notify_fifo: '/run/keepalived.fifo' | ||
vrrp_notify_fifo_script: 'your_fifo_script_path' | ||
``` | ||
### Soft-restart the Keepalived daemon | ||
```puppet | ||
|
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
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