Puppet Class: pxe

Inherits:
pxe::params
Defined in:
manifests/init.pp

Overview

Class: pxe

Setup a PXE root directory. This should do nothing but setup the base menuing system with syslinux and some pxe tools installed.

Parameters:

  • tftp_root (Any) (defaults to: '/srv/tftp')
  • syslinux_version (Any) (defaults to: $pxe::params::syslinux_version)
  • tools (Any) (defaults to: true)


6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'manifests/init.pp', line 6

class pxe (
  $tftp_root        = '/srv/tftp',
  $syslinux_version = $pxe::params::syslinux_version,
  $tools            = true,
) inherits pxe::params {

  class { 'pxe::syslinux':
    tftp_root        => $tftp_root,
    syslinux_version => $syslinux_version,
  }
  if $tools{
    include pxe::tools
  }
}