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 parameter for interfaces to ignore #305

Merged
merged 1 commit into from
Feb 16, 2016

Conversation

aptituz
Copy link

@aptituz aptituz commented Jan 14, 2016

The ntp configuration supports some tokens for interfaces that shall be ignored.
Previously the module used the pattern 'wildcard' to indicate that ntp
shouldn't listen to any interface but those specified as listen interfaces.
In some circumstances this is not enough. This commit adds a new parameter
interfaces_ignore that allows to list all interfaces (or interface tokens
like all, ipv6, ipv6 etc.) that should be ignored (and overrides the wildcard token).

The ntp configuration supports some tokens for interfaces that shall be ignored.
Previously the module used the pattern 'wildcard' to indicate that ntp
shouldn't listen to any interface but those specified as listen interfaces.
In some circumstances this is not enough. This commit adds a new parameter
interfaces_ignore that allows to list all interfaces (or interface tokens
like all, ipv6, ipv6 etc.) that should be ignored.
@jonnytdevops
Copy link
Contributor

Hi There

Can you specify a use case where a property like this would be needed?

Thanks

@aptituz
Copy link
Author

aptituz commented Jan 15, 2016

If for nothing else: To be able to reproduce a working, tested and reviewed configuration with puppet (and a supported module :-)

More serious: We support a setup where IPv6 must be disabled due to regulatory parameters. I don't exactly recall the exact reason, but for this setup to work we needed to explicitly configure "interface ignore ipv6" additionally to "interface ignore wildcard".

@HelenCampbell
Copy link
Contributor

Hey @aptituz , this is a great addition, thank you! Merging now :)

HelenCampbell pushed a commit that referenced this pull request Feb 16, 2016
Add parameter for interfaces to ignore
@HelenCampbell HelenCampbell merged commit bb1715e into puppetlabs:master Feb 16, 2016
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