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.

$ensure

Default: present.

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)
  • ensure (Any) (defaults to: present)


23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# File 'manifests/global_defs.pp', line 23

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