Defined Type: dhcp::sharednetwork
- Defined in:
-
manifests/sharednetwork.pp
Summary
defines a sharednetwork-segment to wrap several pools together
Overview
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# File 'manifests/sharednetwork.pp', line 12
define dhcp::sharednetwork (
String $sharednetwork = $title,
Optional[Variant[Array[String[1]], String[1]]] $parameters = undef,
) {
include dhcp::params
$dhcp_dir = $dhcp::params::dhcp_dir
concat::fragment {
"dhcp_sharednetwork_${name}_head":
target => "${dhcp_dir}/dhcpd.pools",
content => template('dhcp/dhcpd.sharednetwork.erb'),
order => "10 ${sharednetwork}-09";
"dhcp_sharednetwork_${name}_foot":
target => "${dhcp_dir}/dhcpd.pools",
content => "}\n",
order => "10 ${sharednetwork}-11";
}
}
|