Puppet Class: dhcpd::host

Defined in:
manifests/host.pp

Overview

Parameters:

  • hardware (Any)
  • address (Any)
  • hostname (Any) (defaults to: $title)
  • conf_file (Any) (defaults to: $dhcpd::conf_file)


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

class dhcpd::host (
    $hardware,
    $address,
    $hostname  = $title,
    $conf_file = $dhcpd::conf_file,
) {

    include stdlib;

    concat::fragment { "${conf_file}#host${title}":
        target  => $conf_file,
        content => template('dhcpd/host.conf.erb'),
        order   => '40',
    }

}