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

(MODULES-5645) Choose correct IP version for hostname resolution #721

Merged
merged 1 commit into from
Sep 27, 2017

Conversation

kpengboy
Copy link
Contributor

Currently hostnames specified in a source or destination field
in a firewall rule are always resolved as IPv4, even when the
provider is ip6tables. Instead, intelligently determine whether
the hostname should be resolved as an IPv4 address or IPv6 address
based on the provider.

Currently hostnames specified in a `source` or `destination` field
in a firewall rule are always resolved as IPv4, even when the
provider is `ip6tables`. Instead, intelligently determine whether
the hostname should be resolved as an IPv4 address or IPv6 address
based on the provider.
@eputnam
Copy link
Contributor

eputnam commented Sep 27, 2017

Thanks @kpengboy !

@eputnam eputnam merged commit 8f446aa into puppetlabs:master Sep 27, 2017
@diranged
Copy link

This code actually breaks our Rspec tests - they fail to find the provider. With this in place, is there something I need to do to our spec tests to mock out the provider detection?

@eputnam
Copy link
Contributor

eputnam commented Oct 25, 2017

@diranged would you mind submitting a ticket for this in JIRA? https://tickets.puppet.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants