Defined Type: dhcp::ignoredsubnet

Defined in:
manifests/ignoredsubnet.pp

Summary

Manage an ignored subnet

Overview

Parameters:

  • network (Any)
  • mask (Any)


3
4
5
6
7
8
9
10
11
12
13
14
15
# File 'manifests/ignoredsubnet.pp', line 3

define dhcp::ignoredsubnet (
  $network,
  $mask,
) {
  include dhcp::params

  $dhcp_dir = $dhcp::params::dhcp_dir

  concat::fragment { "dhcp_ignoredsubnet_${name}":
    target  => "${dhcp_dir}/dhcpd.ignoredsubnets",
    content => template('dhcp/dhcpd.ignoredsubnet.erb'),
  }
}