-
Notifications
You must be signed in to change notification settings - Fork 328
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
(MODULES-6363) fix disabling dhclient on redhat-derivatives #439
Conversation
Closing and reopening to resolve Travis/bundler issues, this is caused due to https://tickets.puppetlabs.com/browse/MODULES-6339. |
Hey @sudodevnull if you are able to add a test for this I will get it merged. |
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! |
manifests/config.pp
Outdated
#backup created in case admin wants to revert back to dhclient | ||
file { '/etc/dhcp/dhclient.d/ntp.sh': | ||
ensure => absent, | ||
backup => true, |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
test is there! lol at all my crazy commits for testing. |
@sudodevnull thank you for your time and patience on this PR! It is much appreciated. |
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