dhcp
: A selector for configuring the DHCP server or clientdhcp::dhcpd
: This class is used to start dhcpd and create dhcpd.conf
The client portion has not yet been implemented.
The following parameters are available in the dhcp
class:
Data type: Boolean
Not yet implemented
Default value: false
Data type: Boolean
Denotes that the system is a DHCP server
Default value: true
This class is used to start dhcpd and create dhcpd.conf
The following parameters are available in the dhcp::dhcpd
class:
package_name
enable_data_rsync
rsync_server
rsync_timeout
dhcpd_conf
firewall
logrotate
syslog
package_ensure
rsync_source
Data type: String[1]
The DHCP server package name
Data type: Boolean
Enable the retrieval of the DHCP configuration from an rsync server
- NOTE: This will be disabled by default at some point in the future
Default value: true
Data type: String[1]
The address of the server from which to pull the DHCPD configuration
Default value: simplib::lookup('simp_options::rsync::server', { 'default_value' => '127.0.0.1' })
Data type:
Variant[
Integer[0],
Pattern[/\A\d+\z/]
]
The connection timeout when communicating with the rsync server
Default value: simplib::lookup('simp_options::rsync::timeout', { 'default_value' => '2' })
Data type: Optional[String[1]]
The entire contents of the /etc/dhcpd.conf configuration file
- If this is set,
$enable_data_rsync
will be forced tofalse
Default value: undef
Data type: Boolean
Whether or not to include the SIMP iptables class
Default value: simplib::lookup('simp_options::firewall', { 'default_value' => false })
Data type: Boolean
Whether or not to include the SIMP logrotate class
Default value: simplib::lookup('simp_options::logrotate', { 'default_value' => false })
Data type: Boolean
Whether or not to include the SIMP rsyslog class
Default value: simplib::lookup('simp_options::syslog', { 'default_value' => false })
Data type: String[1]
The ensure status of the dhcp package
Default value: simplib::lookup('simp_options::package_ensure', { 'default_value' => 'installed' })
Data type: String[1]
Default value: "dhcpd_${facts['environment']}_${facts['os']['name']}/dhcpd.conf"