Closed Shahor closed 7 years ago
I hear you - have the exact same problem. Starting to really doubt the overall benefits of using boxen at all. Too many issues keep cropping up all the time.
Well, the real problem is not the product itself. It does a good job.
The real thing is that there isn't a community =/ That's a deal breaker
Finally I found out how to restart it:
sudo launchctl stop dev.dnsmasq
and then
sudo launchctl start dev.dnsmasq
Hope it helps...for me it doesn't seem to pickup my config changes...
Yes I found how to restart it but I can't find how to make the changes in the config :(
This is seriously annoying =/
Thanks for the follow up anyway :)
2013/10/22 Johan Stenqvist notifications@github.com
Finally I found out how to restart it: sudo launchctl stop dev.dnsmasq and then sudo launchctl start dev.dnsmasq Hope it helps...for me it doesn't seem to pickup my config changes...
— Reply to this email directly or view it on GitHubhttps://github.com/boxen/puppet-dnsmasq/issues/5#issuecomment-26793511 .
I haven't done it the "boxen" way yest, only hacked the dnsmasq.conf file to include an additional address line. I also found out that even restarting the service, flushing the dns caches etc didn't helped when I ran Google Chrome - I had to disable the "experimental" internal dnsclient chrome feature before it all worked.
boxen --restart-service dnsmasq
oh, need to test that one! Thanx! On Oct 22, 2013 2:50 PM, "Adam Ochonicki" notifications@github.com wrote:
boxen --restart-service dnsmasq
— Reply to this email directly or view it on GitHubhttps://github.com/boxen/puppet-dnsmasq/issues/5#issuecomment-26799703 .
Hi @Shahor.
If your issue is dnsmasq.conf
is resets after boxen
command run,
You can override dnsmasq.conf
by this method:
in /opt/boxen/repo/module/people/manifests/{username}.pp
class people::nyarla { # `nyarla` is my account name.
# (Abbreviated)
require dnsmasq::config
include dnsmasq
File <| title == "${dnsmasq::config::configdir}/dnsmasq.conf" |> {
source => 'puppet:///modules/people/nyarla/dnsmasq.conf',
}
# (Abbreviated again...)
And, I found this method in here:
Thank you for reading!
Thanks @nyarla !! Will try this right away.
Hi guys, I want to modify my dnsmasq entry but I somehow can't find the right way to do it, does someone have an idea how to do this ? I just want to add an entry, but I don't know how to restart the dnsmasq service, and besides when I run the boxen command again it overwrites my modifs :s
I asked on IRC about this but nobody's answering, so if anyone sees this, please halp :D (maybe this is the wrong place but I don't know where else to ask this).