-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Support node[:dnsmasq][:enable_hostsfile]
#8
Conversation
In some environments, dnsmasq might be wanted but not the addition of items to `/etc/hosts` based on dnsmasq. Support such use-cases by letting `node[:dnsmasq][:enable_hostsfile]` be set false.
👍 |
👍 we are running this recipe but aren't using
in the chef logs. It's getting rescued, but causing some angst among people scanning their chef logs or automated tools reporting ERROR entries in CI. Was going to suggest this same approach so that we could turn it off. |
|
||
if(node[:dnsmasq][:enable_hostsfile]) | ||
include_recipe 'dnsmasq::manage_hostsfile' | ||
end |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
I think |
The attribute name chosen is consistent with We no longer use dnsmasq in the environment for which I wrote this changed cookbook, so I can't test any changes to detect typo problems; this PR has been noted as useful as-is by others, but my employer no longer has a need for this improvement so I'm not going to argue for accepting the PR if there are changes needed to be accepted upstream. Should I close this PR? |
re, the re, the attribute: I can dig it. In #15, the main body of work is to update the test harness so changes can be tested easier. If you don't have time to work on contributing to this cookbook and want to close this PR, that's cool. I can incorporate it an updated one. I'm not a maintainer of this cookbook, but it does seem that perhaps @chrisroberts doesn't have time or interest either, since the last commit on master was Dec 23, 2013, and the last activity from him on this PR is Jan 24, 2014. |
I was coming to close this, but then saw that the easiest UX for discovering what's already known and has fixes is seeing the open PRs; since this is a solution helping others, I'll leave it open for now. If you get progress in having your changes accepted and have a replacement ready for this one, then I'll close it. |
Cool 😺 |
Closing due to inactivity. If this is still an issue please reopen or open another issue. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
In some environments, dnsmasq might be wanted but not the addition of
items to
/etc/hosts
based on dnsmasq. Support such use-cases byletting
node[:dnsmasq][:enable_hostsfile]
be set false.This is a variation of something carried locally, ported forward to the current dnsmasq code-base.