Class | dhcpd::dhcpd |
In: |
/modules/dhcpd/manifests/init.pp
|
Parent: |
Class: dhcpd
Installs and enables a dhcpd server. You must specify either `$configsource` or `$configcontent`.
Parameters:
$configsource: Puppet location of the configuration file to use. Default: none $configcontent: Content of the configuration file to use. Default: none $dhcpdargs: Command-line arguments to be added to dhcpd. Default: empty $ensure: Ensure parameter for the service. Default: undefined $enable: Enable parameter for the service. Default: true
Sample Usage :
class { 'dhcpd': configsource => 'puppet:///files/dhcpd.conf-foo', # Restrict listening to a single interface dhcpdargs => 'eth1', # Default is to enable but allow to be stopped (for active/passive) ensure => 'running', }