3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# File 'manifests/failover.pp', line 3
class dhcp::failover (
$peer_address,
$role = 'primary',
$address = $facts['networking']['ip'],
$port = '519',
$max_response_delay = '30',
$max_unacked_updates = '10',
$mclt = '300',
$load_split = '128',
$load_balance = '3',
Optional[String[1]] $omapi_key = undef,
$dhcp_dir = $dhcp::dhcp_dir,
$dhcpd_conf_filename = $dhcp::dhcpd_conf_filename,
) {
concat::fragment { 'dhcp-conf-failover':
target => "${dhcp_dir}/${dhcpd_conf_filename}",
content => template('dhcp/dhcpd.conf.failover.erb'),
}
}
|