Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/haf/puppet-keepalived

Keepalived module for puppet
https://github.com/haf/puppet-keepalived

Last synced: about 1 month ago
JSON representation

Keepalived module for puppet

Awesome Lists containing this project

README

        

node LB1 inherits default {

include keepalived
keepalived::base { "xxx":
name => "VI_1",
emailto => "xxx@xxx",
emailfrom => "xxx@xxx",
smtpserver => "127.0.0.1",
interface => "eth0",
state => "MASTER",
priority => "200",
auth_pass => "xxx",
virtual_ips => ['xxx', 'xxx'],
vrrp_script => ['haproxy', 'nginx'],
}
}

node LB2 inherits default {

include keepalived
keepalived::base { "xxx":
name => "VI_1",
emailto => "xxx@xxx",
emailfrom => "xxx@xxx",
smtpserver => "127.0.0.1",
interface => "eth0",
state => "BACKUP",
priority => "100",
auth_pass => "xxx",
virtual_ips => ['xxx', 'xxx'],
vrrp_script => ['haproxy', 'nginx'],
}
}