Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend support for event clauses to global, pool and pool6 #252

Merged
merged 1 commit into from
Oct 31, 2021

Conversation

mergwyn
Copy link
Contributor

@mergwyn mergwyn commented Feb 17, 2021

Pull Request (PR) description

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. This PR extends support to these cases

This Pull Request (PR) fixes the following issues

Fixes #251

@mergwyn mergwyn force-pushed the global_event_support branch 2 times, most recently from 348ca27 to 5c23ba2 Compare October 30, 2021 09:47
@mergwyn
Copy link
Contributor Author

mergwyn commented Oct 30, 2021

Many apologies - I thought I had added a comment about the CentOS6 tests failing, but clearly had not, and then I forgot all about it!

Rebasing my branch fixed the test issues, but resulted in rubocop errors which I have now fixed and then squashed. Hopefully, this PR is now in a state where we can proceed.

spec/classes/dhcp_spec.rb Outdated Show resolved Hide resolved
@mergwyn
Copy link
Contributor Author

mergwyn commented Oct 31, 2021

Changes made!

@kenyon kenyon added the enhancement New feature or request label Oct 31, 2021
@kenyon kenyon merged commit 2c826db into voxpupuli:master Oct 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add event handlers to main and pool config - Enhancement
2 participants