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

Broadcast and auth #238

Merged
merged 1 commit into from
Feb 25, 2015
Merged

Broadcast and auth #238

merged 1 commit into from
Feb 25, 2015

Conversation

mpuel
Copy link
Contributor

@mpuel mpuel commented Jan 29, 2015

Hi,

this patch enables two configuration options in ntp.conf : the broadcast mode (the simple way) and the disabling of authentication.

Would you mind envisaging to merge those changes ?

@igalic
Copy link
Contributor

igalic commented Jan 29, 2015

do you think you can add a test to spec/classes/ntp_spec?

@mpuel
Copy link
Contributor Author

mpuel commented Jan 29, 2015

Ok; I added 4 tests based on the value of the two parameters. It appears to apply fine but I am unsure about the placement in the ntp_spec file, please review it with cautious eyes :)

@@ -27,6 +30,10 @@ interface listen <%= interface %>
<% end -%>
<% end -%>

<% if @broadcastclient == true %>
Copy link
Contributor

Choose a reason for hiding this comment

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

please turn this %> into a -%>

@igalic
Copy link
Contributor

igalic commented Jan 29, 2015

looks good to me (except for the comment above).
please squash your commits again down to ~one.

add the two options "broadcastclient" and "disable auth"
@mpuel
Copy link
Contributor Author

mpuel commented Jan 29, 2015

Ok, done.

hunner added a commit that referenced this pull request Feb 25, 2015
@hunner hunner merged commit f878fa0 into puppetlabs:master Feb 25, 2015
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