dhcp: Manage an ISC DHCP serverdhcp::disable: Remove and Disable the DHCP serverdhcp::failover: Manage a DHCP failover config
dhcp::params: Parameter defaults
dhcp::dhcp_class: Manage a DHCP class in the configdhcp::host: Manage a DHCP hostdhcp::ignoredsubnet: Manage an ignored subnetdhcp::pool: Define a dhcp-pool for IPv4 networksdhcp::pool6: Define a dhcp-pool for IPv6 networksdhcp::sharednetwork: defines a sharednetwork-segment to wrap several pools together
Manage an ISC DHCP server
The following parameters are available in the dhcp class:
dnsdomainnameserversnameservers_ipv6ntpserversdnssearchdomainsdhcp_conf_headerdhcp_conf_ddnsdhcp_conf_ntpdhcp_conf_pxedhcp_conf_extradhcp_conf_fragmentsinterfacesinterfacednsupdatekeyddns_update_stylednskeynameddns_update_staticddns_update_optimizeddns_client_updatespxeserverpxefilenamemtuipxe_filenameipxe_bootstraplogfacilitydefault_lease_timemax_lease_timeservice_ensureglobaloptionsomapi_portomapi_nameomapi_algorithmomapi_keyauthoritativeextra_configdhcp_dirdhcpd_conf_filenamepackagenamemanage_packageservicenamemanage_servicepackage_providerldap_portldap_serverldap_usernameldap_passwordldap_base_dnldap_methodldap_debug_fileuse_ldapoption_code150_labeloption_code150_valuedhcp_classeshostsignoredsubnetspoolspools6sharednetworkson_commiton_releaseon_expirydhcpd_binary
Data type: Optional[Array[String[1]]]
Default value: undef
Data type: Array[Stdlib::IP::Address::V4]
Default value: []
Data type: Array[Stdlib::IP::Address::V6]
Default value: []
Data type: Array[Variant[Stdlib::Fqdn,Stdlib::IP::Address]]
Default value: []
Data type: Array[String[1]]
Default value: []
Data type: String
Default value: 'INTERNAL_TEMPLATE'
Data type: String
Default value: 'INTERNAL_TEMPLATE'
Data type: String
Default value: 'INTERNAL_TEMPLATE'
Data type: String
Default value: 'INTERNAL_TEMPLATE'
Data type: String
Default value: 'INTERNAL_TEMPLATE'
Data type: Hash[String[1], Hash[String[1], String[1]]]
Default value: {}
Data type: Optional[Array[String[1]]]
Default value: undef
Data type: String[1]
Default value: 'NOTSET'
Data type: Optional[String[1]]
Default value: undef
Data type: String[1]
Default value: 'interim'
Data type: Optional[String[1]]
Default value: undef
Data type: String[1]
Default value: 'on'
Data type: String[1]
Default value: 'on'
Data type: Enum['allow', 'deny']
Default value: 'allow'
Data type: Optional[Stdlib::Host]
Default value: undef
Data type: Optional[String[1]]
Default value: undef
Data type: Optional[Integer[1]]
Default value: undef
Data type: Optional[String[1]]
Default value: undef
Data type: Optional[String[1]]
Default value: undef
Data type: Dhcp::Syslogfacility
Default value: 'daemon'
Data type: Integer[-1]
Default value: 43200
Data type: Integer[-1]
Default value: 86400
Data type: Stdlib::Ensure::Service
Default value: 'running'
Data type: Optional[Variant[String,Array[String[1]]]]
Default value: undef
Data type: Optional[Stdlib::Port]
Default value: undef
Data type: Optional[String[1]]
Default value: undef
Data type: String[1]
Default value: 'HMAC-MD5'
Data type: Optional[String[1]]
Default value: undef
Data type: Boolean
Default value: true
Data type: Variant[Array[String[1]],String[1]]
Default value: []
Data type: Stdlib::Absolutepath
Default value: $dhcp::params::dhcp_dir
Data type: String[1]
Default value: 'dhcpd.conf'
Data type: String[1]
Default value: $dhcp::params::packagename
Data type: Boolean
Default value: true
Data type: Variant[String[1],Array[String[1]]]
Default value: $dhcp::params::servicename
Data type: Boolean
Default value: true
Data type: Optional[String[1]]
Default value: $dhcp::params::package_provider
Data type: Stdlib::Port
Default value: 389
Data type: String[1]
Default value: 'localhost'
Data type: String[1]
Default value: 'cn=root, dc=example, dc=com'
Data type: Optional[String[1]]
Default value: undef
Data type: String[1]
Default value: 'dc=example, dc=com'
Data type: Enum['dynamic', 'static']
Default value: 'dynamic'
Data type: Optional[Stdlib::Absolutepath]
Default value: undef
Data type: Boolean
Default value: false
Data type: String[1]
Default value: 'pxegrub'
Data type: String[1]
Default value: 'text'
Data type: Hash[String[1], Hash]
Default value: {}
Data type: Hash[String[1], Hash]
Default value: {}
Data type: Hash[String, Hash]
Default value: {}
Data type: Hash[String, Hash]
Default value: {}
Data type: Hash[String, Hash]
Default value: {}
Data type: Hash[String, Hash]
Default value: {}
Data type: Array[String[1]]
Default value: []
Data type: Array[String[1]]
Default value: []
Data type: Array[String[1]]
Default value: []
Data type: Optional[Stdlib::Absolutepath]
Default value: $dhcp::params::dhcpd_binary
Remove and Disable the DHCP server
The following parameters are available in the dhcp::disable class:
Data type: String[1]
Default value: $dhcp::params::packagename
Data type: String[1]
Default value: $dhcp::params::servicename
Manage a DHCP failover config
The following parameters are available in the dhcp::failover class:
peer_addressroleaddressportmax_response_delaymax_unacked_updatesmcltload_splitload_balanceomapi_keydhcp_dirdhcpd_conf_filename
Data type: Any
Data type: Any
Default value: 'primary'
Data type: Any
Default value: $facts['networking']['ip']
Data type: Any
Default value: '519'
Data type: Any
Default value: '30'
Data type: Any
Default value: '10'
Data type: Any
Default value: '300'
Data type: Any
Default value: '128'
Data type: Any
Default value: '3'
Data type: Optional[String[1]]
Default value: undef
Data type: Any
Default value: $dhcp::dhcp_dir
Data type: Any
Default value: $dhcp::dhcpd_conf_filename
Manage a DHCP class in the config
The following parameters are available in the dhcp::dhcp_class defined type:
Data type: Variant[Array[String[1]], String[1]]
Manage a DHCP host
The following parameters are available in the dhcp::host defined type:
ipmacddns_hostnameoptionscommentignoreddefault_lease_timemax_lease_timeipxe_filenameipxe_bootstrapfilenameon_commiton_releaseon_expiry
Data type: Optional[Stdlib::IP::Address]
The ip address of the DHCP host.
Default value: undef
Data type: Dhcp::Mac
The MAC address.
Data type: String
The name parameter should be the hostname that will be used in setting up the client's A and PTR records. If no ddns-hostname is specified in scope, then the server will derive the hostname automatically, using an algorithm that varies for each of the different update methods.
Default value: $name
Data type: Hash
A hash with key value pairs to go to the option lines. The word 'option' is not needed.
Default value: {}
Data type: Optional[String[1]]
A comment added to the DHCP host.
Default value: undef
Data type: Boolean
If set to true results in ignore booting; line in the DHCP host configuration.
Default value: false
Data type: Optional[Integer]
Default lease length.
Default value: undef
Data type: Optional[Integer]
The maximum lease length.
Default value: undef
Data type: Optional[String[1]]
The ipxe filenme, e. g. ipxe.efi.
Default value: undef
Data type: Optional[String[1]]
The bootstrap file of UEFI PXE, e. g. winpe.ipxe
Default value: undef
Data type: Optional[String[1]]
The file to be loaded by TFTP.
Default value: undef
Data type: Array[String[1]]
An array with statements to go into the hook on commit.
Default value: []
Data type: Array[String[1]]
An array with statements to go into the hook on release.
Default value: []
Data type: Array[String[1]]
An array with statements to go into the hook on expiry.
Default value: []
Manage an ignored subnet
The following parameters are available in the dhcp::ignoredsubnet defined type:
Data type: Any
Data type: Any
Define a dhcp-pool for IPv4 networks
The following parameters are available in the dhcp::pool defined type:
networkmaskhost_maskgatewayrangefailoveroptionsparameterssharednetworknameserversnameservers_ipv6pxeservermtudomain_nameignore_unknownon_commiton_releaseon_expiry
Data type: Stdlib::IP::Address::V4
Base-IP-Address of the pool
Data type: Stdlib::IP::Address::V4
Networkmask of that pool
Data type: Stdlib::IP::Address::V4
Networkmask that is supplied to the client
Defaults to mask. Use it to supply a smaller
mask to clients if needed
Default value: $mask
Data type: Optional[String[1]]
Optional IP-address for the gateway
Default value: undef
Data type: Optional[Variant[Array[String[1],1],String[1]]]
Optional IP-range to supply addresses from Specify as String with start- and end-IP-address separated by space
Default value: undef
Data type: Optional[String[1]]
Optional name of the DHCP-server to failover
Default value: undef
Data type: Optional[Variant[Array[String[1]],String[1]]]
Optional String or Array of option to set in the pool
Default value: undef
Data type: Optional[Variant[Array[String[1]],String[1]]]
Optional String or Array of manual parameters to set
Default value: undef
Data type: Optional[String[1]]
Optional String to group this pool into a shared-network
segment by the name sharednetwork. You need to define
that segment by using dhcp::sharednetwork
Default value: undef
Data type: Optional[Array[String]]
Optional set of IPv4-nameservers to supply to the client
Default value: undef
Data type: Optional[Array[String]]
Optional set of IPv6-nameservers to supply to the client
Default value: undef
Data type: Optional[String]
Optional name of a PXE-server to boot from
Default value: undef
Data type: Optional[Integer]
Optional size of the MTU to supply to the client
Default value: undef
Data type: Optional[String[1]]
Optional domainname for the client
Default value: undef
Data type: Any
Set to true to disable leases for clients not
explicitly defined by dhcp::host
Default value: undef
Data type: Array[String[1]]
Set of statements to execute when providing a lease
Default value: []
Data type: Array[String[1]]
Set of statements to execute when a lease is released
Default value: []
Data type: Array[String[1]]
Set of statements to execute when a lease expires
Default value: []
Define a dhcp-pool for IPv6 networks
The following parameters are available in the dhcp::pool6 defined type:
networkprefixrangerange_tempfailoveroptionsparameterssharednetworknameserversnameservers_ipv6pxeservermtudomain_nameignore_unknownon_commiton_releaseon_expiry
Data type: Stdlib::IP::Address::V6
Data type: Integer
Data type: Optional[Variant[Array[String[1],1],String[1]]]
Default value: undef
Data type: Optional[String[1]]
Default value: undef
Data type: Optional[String[1]]
Default value: undef
Data type: Optional[Variant[Array[String[1]],String[1]]]
Default value: undef
Data type: Optional[Variant[Array[String[1]],String[1]]]
Default value: undef
Data type: Optional[String[1]]
Default value: undef
Data type: Optional[Array[String]]
Default value: undef
Data type: Optional[Array[String]]
Default value: undef
Data type: Optional[String]
Default value: undef
Data type: Optional[Integer]
Default value: undef
Data type: Optional[String[1]]
Default value: undef
Data type: Any
Default value: undef
Data type: Array[String[1]]
Default value: []
Data type: Array[String[1]]
Default value: []
Data type: Array[String[1]]
Default value: []
defines a sharednetwork-segment to wrap several pools together
The following parameters are available in the dhcp::sharednetwork defined type:
Data type: String
Name of the sharednetwork as used in dhcp::pool and dhcp::pool6
defaults to the title of this resource
Default value: $title
Data type: Optional[Variant[Array[String[1]], String[1]]]
optional defaults you can set for the shared-network can be either a single parameter-string, or an array of several parameters
Default value: undef
The Dhcp::Mac data type.
Alias of Pattern[/^[0-9A-Fa-f]{1,2}(:[0-9A-Fa-f]{1,2}){5}$/]
The Dhcp::Syslogfacility data type.
Alias of Enum['user', 'mail', 'daemon', 'auth', 'syslog', 'lpr', 'news', 'uucp', 'cron', 'authpriv', 'ftp', 'ntp', 'security', 'console', 'solaris-cron', 'local0', 'local1', 'local2', 'local3', 'local4', 'local5', 'local6', 'local7']