Skip to content

express42/keepalived

Repository files navigation

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

Actions

  • create: Default action.

Attribute Parameters

  • script:
  • interval: Defaults to 5.
  • weight: Defaults to -2.
  • rise: Defaults to 2.
  • fall: Defaults to 2.

keepalived_clean

Actions

  • run: Default action.

keepalived_virtual_server

Actions

  • create: Default action.

Attribute Parameters

  • vs_listen_ip:
  • vs_listen_port:
  • delay_loop: Defaults to 15.
  • 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 to 10.
  • state: Defaults to "BACKUP".
  • noprempt: Defaults to false.
  • priority: Defaults to 100.
  • 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 (cookbooks@express42.com)

License:: MIT

Releases

No releases published

Packages

No packages published