Puppet Class: profile::installserver::dhcp

Defined in:
modules/profile/manifests/installserver/dhcp.pp

Overview

Installs a DHCP server and configures it for WMF

Parameters:

  • ensure_service (Enum['stopped', 'running']) (defaults to: lookup('profile::installserver::dhcp::ensure_service'))


2
3
4
5
6
7
8
9
10
11
12
13
14
15
# File 'modules/profile/manifests/installserver/dhcp.pp', line 2

class profile::installserver::dhcp(
    Enum['stopped', 'running'] $ensure_service = lookup('profile::installserver::dhcp::ensure_service'),
){

    class { 'install_server::dhcp_server':
        ensure_service => $ensure_service,
    }

    ferm::service { 'dhcp':
        proto  => 'udp',
        port   => 'bootps',
        srange => '$PRODUCTION_NETWORKS',
    }
}