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

Fix/master/modules 3980 #679

Closed
wants to merge 3 commits into from

Conversation

hunner
Copy link
Contributor

@hunner hunner commented Oct 21, 2016

Resubmit of #676

The current pattern for stdlib::compat::ipv4 is incorrect, and
will return true for any four numbers separated with periods.
This commit improves the regex to validate that the IP octets
are between 1 and 255.

Also, ruby's ipaddr does not like 0-padded octets like 010

Nate Potter and others added 3 commits October 17, 2016 15:55
The current pattern for stdlib::compat::ipv4 is incorrect, and
will return true for any four numbers separated with periods.
This commit improves the regex to validate that the IP octets
are between 1 and 255.
Parallel_tests 2.10.0 requires ruby >= 2.0.0, so for jobs with
ruby < 2.0.0 parallel_tests 2.9.0 should be used.
DavidS added a commit to DavidS/puppetlabs-stdlib that referenced this pull request Oct 24, 2016
This also updates all ipv4 tests to use the same test data for better
comparability. Closes puppetlabs#676, puppetlabs#679

Fix-Originally-By: Nate Potter <nathaniel.potter@intel.com>
@DavidS
Copy link
Contributor

DavidS commented Oct 25, 2016

Superseded by #680

@DavidS DavidS closed this Oct 25, 2016
DavidS added a commit to DavidS/puppetlabs-stdlib that referenced this pull request Oct 25, 2016
This also updates all ipv4 tests to use the same test data for better
comparability. Closes puppetlabs#676, puppetlabs#679

Fix-Originally-By: Nate Potter <nathaniel.potter@intel.com>
DavidS added a commit to DavidS/puppetlabs-stdlib that referenced this pull request Oct 25, 2016
This also updates all ipv4 tests to use the same test data for better
comparability. Closes puppetlabs#676, puppetlabs#679

Fix-Originally-By: Nate Potter <nathaniel.potter@intel.com>
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.

2 participants