(MODULES-6366) Add data types for IP validation#872
(MODULES-6366) Add data types for IP validation#872eputnam merged 1 commit intopuppetlabs:masterfrom
Conversation
149bd66 to
53bf879
Compare
|
I purposely left Test cases were also taken from the README in https://github.com/thrnio/puppet-ip. For the types that did not have tests, I used the examples from the RFC. https://www.ietf.org/rfc/rfc2373.txt |
ebf1e4d to
494386a
Compare
|
Hey @ghoneycutt! Could you add @thrnio as a co-author? (I'm sure you know how, but here's docs, if not.) |
494386a to
5e1bcf8
Compare
|
I did not, thanks for teaching me! Added Ryan to the commit. |
5e1bcf8 to
2b4dbbd
Compare
|
just mentioning #843 as its similar. I prefer this PR as its much more complete however i think we can strip out the |
|
@binford2k Thanks for your +1. Could you approve or merge this PR? I would like to get a release going as it is a dependency for me to release other modules that need this functionality. |
2b4dbbd to
4bcc0c9
Compare
|
I prefer with the |
|
@ghoneycutt Im not sure what you mean by it being more exact. if we want to be exact then we should really use something like i.e. the IP protocol should come before the address. This becomes useful is you want to have something more then One you have this in mind then i think its reasnable to assume that |
|
Just a note, |
|
I'm not attached to Would not want to have an alias from one to the other as this adds unneeded complexity. Puppet, what color should this shed be? |
4bcc0c9 to
c6106cf
Compare
|
Any reason these have to be imported into Stdlib? If it's for the purposes of deprecating the original source module then I'd vote for importing in a way that needs the minimum of work for module authors to adapt to it, i.e. if it's just a case of prefixing everything with |
|
@ghoneycutt just needs a rebase and we'll get this moving. |
The types are from https://github.com/thrnio/puppet-ip which was released under the Apache-2.0 license by Ryan Whitehurst. Spec tests added and code modified to work with puppetlabs/stdlib by Garrett Honeycutt. Co-authored-by: Ryan Whitehurst <ryan@ryanwhitehurst.com> Co-authored-by: Garrett Honeycutt <code@garretthoneycutt.com>
c6106cf to
6dad21e
Compare
|
Thanks @eputnam, got this rebased. |
|
Appreciate the merge @eputnam ! Can you please let us know here when a release is made that contains this PR? Will it be soon? Seems there hasn't been a release in quite some time relative to merged PR's. |
The types are from https://github.com/thrnio/puppet-ip which was released
under the Apache-2.0 license.