voxpupuli / puppet-dhcp

Puppet module for deploying dhcp
https://forge.puppet.com/puppet/dhcp
Apache License 2.0
41 stars 136 forks source link

Add event handlers to main and pool config - Enhancement #251

Closed mergwyn closed 3 years ago

mergwyn commented 3 years ago

The event handlers are currently only supported for dhcp::host (see #216). These handlers can also exist globally in dhcpd.conf or in the pool definition dhcpd::pool and dhcpd::pool6.

I propose to replicate the PR and add 3 new optional parameters to the relevant classes:

on_commit
on_release
on_expiry

So two questions: