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

Enable the ability to set interfaces #170

Merged
merged 1 commit into from
Jun 27, 2014

Conversation

matthewfischer
Copy link
Contributor

Allow the settings of interfaces. If specified, the wildcard
interface will be ignored and the specified interfaces list will be
enabled for listening. This is important on Openstack control nodes
where Neutron can create dozens or even hundreds of interfaces. When new
interfaces are added it causes ntp to rescan. Specificying the interface
list prevents this from occuring.

@matthewfischer
Copy link
Contributor Author

Here's what setting interface listen is useful for:

http://serverfault.com/questions/475635/how-to-prevent-ntpd-to-listen-on-0-0-0-0123

@@ -15,6 +15,7 @@
$panic = $ntp::params::panic,
$preferred_servers = $ntp::params::preferred_servers,
$restrict = $ntp::params::restrict,
$interfaces = $ntp::params::interfaces,
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you use the validate_array() on this?

@hunner
Copy link
Contributor

hunner commented Jun 23, 2014

Could you update the readme with the new parameter? https://github.com/puppetlabs/puppetlabs-ntp#parameters

Can you add tests? Unit tests would be okay.

Allow the settings of interfaces. If specified, the wildcard
interface will be ignored and the specified interfaces list will be
enabled for listening. This is important on Openstack control nodes
where Neutron can create dozens or even hundreds of interfaces. When new
interfaces are added it causes ntp to rescan. Specificying the interface
list prevents this from occuring.
@matthewfischer
Copy link
Contributor Author

All comments addressed

hunner added a commit that referenced this pull request Jun 27, 2014
Enable the ability to set interfaces
@hunner hunner merged commit 5ad8aee into puppetlabs:master Jun 27, 2014
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