https://github.com/express42/keepalived
Express 42 keepalived cookbook
https://github.com/express42/keepalived
chef cookbooks
Last synced: 7 months ago
JSON representation
Express 42 keepalived cookbook
- Host: GitHub
- URL: https://github.com/express42/keepalived
- Owner: express42
- Created: 2013-10-09T15:53:52.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-08-29T11:56:13.000Z (about 10 years ago)
- Last Synced: 2025-01-18T14:46:42.579Z (9 months ago)
- Topics: chef, cookbooks
- Language: Ruby
- Homepage:
- Size: 207 KB
- Stars: 0
- Watchers: 23
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Description
Installs and configures keepalived
# Requirements
## Platform:
* Debian
* Ubuntu# Attributes
* `node['keepalived']['shared_address']` - Defaults to `"true"`.
* `node['keepalived']['confpath']` - Defaults to `"/etc/keepalived/conf.d/"`.
* `node['keepalived']['notification_emails']` - Defaults to `"alert@test.local"`.
* `node['keepalived']['notification_email_from']` - Defaults to `"alert@\#{node['domain'] || 'test.local'}"`.
* `node['keepalived']['smtp_server']` - Defaults to `"127.0.0.1"`.
* `node['keepalived']['smtp_connect_timeout']` - Defaults to `"30"`.
* `node['keepalived']['router_id']` - Defaults to `"node['fqdn']"`.
* `node['keepalived']['router_ids']` - Defaults to `"{ ... }"`.# Recipes
* keepalived::default - Installs and configures keepalived.
# Resources
* [keepalived_check_script](#keepalived_check_script)
* [keepalived_clean](#keepalived_clean)
* [keepalived_virtual_server](#keepalived_virtual_server)
* [keepalived_vrrp](#keepalived_vrrp)## keepalived_check_script
### Actions
- create: Default action.
### Attribute Parameters
- script:
- interval: Defaults to5
.
- weight: Defaults to-2
.
- rise: Defaults to2
.
- fall: Defaults to2
.## keepalived_clean
### Actions
- run: Default action.
## keepalived_virtual_server
### Actions
- create: Default action.
### Attribute Parameters
- vs_listen_ip:
- vs_listen_port:
- delay_loop: Defaults to15
.
- lb_algo: Defaults to"rr"
.
- lb_kind: Defaults to"nat"
.
- vs_protocol: Defaults to"tcp"
.
- real_servers:## keepalived_vrrp
### Actions
- create: Default action.
### Attribute Parameters
- interface:
- virtual_router_id: Defaults to10
.
- state: Defaults to"BACKUP"
.
- noprempt: Defaults tofalse
.
- priority: Defaults to100
.
- virtual_ipaddress:
- virtual_routes:
- advert_int:
- auth_type:
- auth_pass:
- track_interface:
- track_script:
- notify_master:
- notify_backup:
- notify_fault:# Usage
See fixture cookbook in `tests/fixtures/cookbooks`.
# License and Maintainer
Maintainer:: LLC Express 42 ()
License:: MIT