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

Add support for the range param being an array #57

Closed
wants to merge 1 commit into from
Closed

Add support for the range param being an array #57

wants to merge 1 commit into from

Conversation

brandonweeks
Copy link
Member

This allows the range param to be passed either as a string or an array. Having multiple range definitions in a pool is supported by dhcpd. This has the added benefit of being API compatible with puppetlabs-dhcp for the range param.

@@ -57,4 +63,3 @@ subnet <%= @network %> netmask <%= @mask %> {
next-server <%= @pxeserver %>;
<% end -%>
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iirc @ekohl is a big fan of an extra line feed at the end of the file

@mmoll
Copy link
Contributor

mmoll commented Oct 12, 2015

again 👍 for parameter compatibility

@ekohl
Copy link
Member

ekohl commented Oct 13, 2015

👍

@mmoll mmoll closed this in 6af6fca Oct 13, 2015
@mmoll
Copy link
Contributor

mmoll commented Oct 13, 2015

merged, thanks @brandonweeks!

bastelfreak pushed a commit to bastelfreak/puppet-dhcp that referenced this pull request Sep 25, 2017
Normalise MAC addresses to upper case in dhcpd.host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants