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

added support for FreeBSD #6

Merged
merged 2 commits into from
Jun 13, 2016
Merged

added support for FreeBSD #6

merged 2 commits into from
Jun 13, 2016

Conversation

alxwr
Copy link
Contributor

@alxwr alxwr commented May 18, 2016

Tested on Ubuntu 15.10 and FreeBSD 10.
I'm planning to stick with this module and provide updates for FreeBSD if needed. :-)

Thanks for sharing!

# to start the service because it is still running. This script checks the status and issues the start command as
# soon as the service is actually stopped.
if $openntp::service_restart != undef {
if $openntp::service_restart == $openntp::params::service_restart {
Copy link
Owner

Choose a reason for hiding this comment

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

Would it make sense to merge both if conditions into one if block?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I separated the two if blocks for other variants of openntp::service_restart to come, but the two blocks can certainly be merged.

Copy link
Owner

Choose a reason for hiding this comment

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

hmm k. Looks like YAGNI to me but I'm happy to roll with it for the moment.

@tohuwabohu tohuwabohu merged commit 3191ba4 into tohuwabohu:master Jun 13, 2016
@tohuwabohu
Copy link
Owner

I've released 2.3.0 to the forge. Thanks for your contribution.

@alxwr
Copy link
Contributor Author

alxwr commented Jun 14, 2016

Thanks or merging!

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