Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Puppet module to manage Keepalived

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 manifests
Octocat-spinner-32 spec
Octocat-spinner-32 templates
Octocat-spinner-32 tests
Octocat-spinner-32 .fixtures.yml
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Modulefile
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
README.md

keepalived

This is the keepalived module.

License

Apache2

Contact

bruno.leon@unyonsys.com

Parameters

[notification_email_to] = [ "root@${domain}" ] An array of emails to send notifications to

[notification_email_from] = "keepalived@${domain}" The source adress of notification messages

[smtp_server] = 'localhost' The SMTP server to use to send notifications.

[smtp_connect_timeout] = '30' The SMTP server to use to send notifications.

[router_id] = $::hostname The router_id identifies us on the network.

Variables

[$keepalived::variables::keepalived_conf] Path to keepalived.conf configuration file

Examples

class { keepalived: }
keepalived::instance { '50':
  interface         => 'eth0',
  virtual_ips       => [ '192.168.200.17 dev eth0' ],
  state             => hiera( "keepalived_50_state" ),
  priority          => hiera( "keepalived_50_priority" ),
}

Developement

You can run the test-suite with the following commands:

bundle exec rake spec
bundle exec rake lint
Something went wrong with that request. Please try again.