Puppet Class: keepalived::global_defs

Inherits:
keepalived::params
Defined in:
manifests/global_defs.pp

Overview

Class keepalived::global_defs

Parameters:

$notification_email

Array of notification email Recipients. Default: undef.

$notification_email_from

Define the notification email Sender. Default: undef.

$smtp_server

Define the smtp server addres. Default: undef.

$smtp_connect_timeout

Define the smtp connect timeout. Default: undef.

$router_id

Define the router ID. Default: undef.

Parameters:

  • notification_email (Any) (defaults to: undef)
  • notification_email_from (Any) (defaults to: undef)
  • smtp_server (Any) (defaults to: undef)
  • smtp_connect_timeout (Any) (defaults to: undef)
  • router_id (Any) (defaults to: undef)


20
21
22
23
24
25
26
27
28
29
30
31
32
# File 'manifests/global_defs.pp', line 20

class keepalived::global_defs(
  $notification_email      = undef,
  $notification_email_from = undef,
  $smtp_server             = undef,
  $smtp_connect_timeout    = undef,
  $router_id               = undef,
) inherits keepalived::params {
  concat::fragment { 'keepalived.conf_globaldefs':
    target  => "${::keepalived::params::config_dir}/keepalived.conf",
    content => template('keepalived/globaldefs.erb'),
    order   => '010',
  }
}