Skip to content
Snippets Groups Projects
Commit 2ddb7147 authored by Riccardo Bucchi's avatar Riccardo Bucchi
Browse files

profile keepalived variables adjustments

parent 743c82a8
No related branches found
No related tags found
No related merge requests found
class iaas::profile::keepalived (
$admin_interface = hiera('iaas::admin_interface', undef),
$public_interface = hiera('iaas::public_interface', undef),
$vip_admin_address = hiera('iaas::admin_address',undef),
$vip_main_address = hiera('iaas::main_address',undef),
$notification_email = undef,
$admin_interface = undef,
$public_interface = undef,
$vip_admin_address = undef,
$vip_main_address = undef,
$notification_email = undef,
$notification_email_from = undef,
$smtp_server = undef,
$state = undef,
$priority = undef,
$smtp_server = undef,
$state = 'BACKUP',
$priority = undef,
) {
if $vip_admin_address == undef {
......@@ -53,4 +53,4 @@ include keepalived
service_restart => 'service keepalived reload', # When using SysV Init
}
}
\ No newline at end of file
}
......@@ -28,6 +28,9 @@ class iaas::role::rhmk(
# KEEPALIVED
$keepalived_priority = 100,
$keepalived_state = 'BACKUP',
$keepalived_notification_mail = 'account@domain1',
$keepalived_notification_mail_from = 'noreply-keepalived-ocpops1@cnaf.infn.it',
$keepalived_smtp_server = 'smtp.server1',
# HAPROXY
$haproxy_controller_hosts = ['<hostname1>','<hostnameN>'],
$haproxy_controller_ips = ['<ip1>','<ipN>'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment