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-6363) fix disabling dhclient on redhat-derivatives #439

Conversation

sudodevnull
Copy link
Contributor

Remove ntp script in RHEL and Amazon Linux (maybe others?) which causes flop. Disabling dhclient does not stop dhclient binaries from modifying ntp.conf without removing this file. I linked my open case with puppet support in the pr as I

@pmcmaw
Copy link
Contributor

pmcmaw commented Jan 8, 2018

Closing and reopening to resolve Travis/bundler issues, this is caused due to https://tickets.puppetlabs.com/browse/MODULES-6339.

@pmcmaw pmcmaw closed this Jan 8, 2018
@pmcmaw pmcmaw reopened this Jan 8, 2018
@pmcmaw
Copy link
Contributor

pmcmaw commented Jan 22, 2018

Hey @sudodevnull if you are able to add a test for this I will get it merged.

@davinhanlon
Copy link
Contributor

Hi @sudodevnull thanks for submitting this, we appreciate the input. If you have the time to add a test it will help us to get it merged into master. Thanks!

#backup created in case admin wants to revert back to dhclient
file { '/etc/dhcp/dhclient.d/ntp.sh':
ensure => absent,
backup => true,
Copy link
Contributor

Choose a reason for hiding this comment

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

This would unexpectedly override global file bucket policy, I think this should be left up to user of the module, or make it configurable

Copy link
Contributor Author

Choose a reason for hiding this comment

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

do you mean for creating a backup?

Copy link
Contributor

Choose a reason for hiding this comment

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

Correct

Copy link
Contributor Author

@sudodevnull sudodevnull Feb 8, 2018

Choose a reason for hiding this comment

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

done. Also, please ignore my many commits... first time writing testing, and fighting the travis ci.

Copy link
Contributor

Choose a reason for hiding this comment

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

Maintainer will ask you to squash them into one, when it's finalized

@sudodevnull
Copy link
Contributor Author

test is there! lol at all my crazy commits for testing.

@pmcmaw
Copy link
Contributor

pmcmaw commented Feb 9, 2018

@sudodevnull thank you for your time and patience on this PR! It is much appreciated.
I will squash and merge it which means all of your work will show in one commit. 👍

@pmcmaw pmcmaw merged commit 4f17064 into puppetlabs:master Feb 9, 2018
@DavidS DavidS changed the title MODULES-6363: fix disable dhclient (MODULES-6363) fix disable dhclient Jul 3, 2018
@DavidS DavidS added bugfix and removed needs-tests labels Jul 3, 2018
@DavidS DavidS changed the title (MODULES-6363) fix disable dhclient (MODULES-6363) fix disabling dhclient on redhat-derivatives Jul 3, 2018
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.

5 participants