20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# File 'manifests/vrrp/track_process.pp', line 20
define keepalived::vrrp::track_process (
String[1] $proc_name,
Optional[Integer[0]] $weight = undef,
Integer[0] $quorum = 1,
Optional[Integer[0]] $delay = undef,
Optional[Integer[0]] $fork_delay = undef,
Optional[Integer[0]] $terminate_delay = undef,
Boolean $full_command = false,
Optional[Enum['initial','partial']] $param_match = undef
) {
concat::fragment { "keepalived.conf_vrrp_track_process_${proc_name}":
target => "${keepalived::config_dir}/keepalived.conf",
content => epp('keepalived/vrrp_track_process.epp', {
'name' => $name,
'proc_name' => $proc_name,
'weight' => $weight,
'quorum' => $quorum,
'delay' => $delay,
'fork_delay' => $fork_delay,
'terminate_delay' => $terminate_delay,
'full_command' => $full_command,
'param_match' => $param_match
}),
order => '020',
}
}
|