-
Notifications
You must be signed in to change notification settings - Fork 6
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
bug: allow using bind9-boshrelease without defining zones #19
Comments
That's an excellent use case, that I'd not previously thought of! The issue probably stems from the fact that if you give bash a glob that doesn't match anything, it will give back the glob as the result: i.e. "echo *.enoent" will echo a literal I think this is as simple as a |
Yes, as I suspected:
It's treating a literal |
Check out v1.3.0 which has this fix in it. https://github.com/cloudfoundry-community/bind9-boshrelease/releases/tag/v1.3.0 |
Tested, and working. Thanks! |
Currently, when one doesn't define a zone in the deployment manifest, bind9 fails with something along the lines of:
Because there are no files for it to check is why it fails. Adding a zone, and it works without issue.
The issue seems to be with:
https://github.com/cloudfoundry-community/bind9-boshrelease/blob/master/jobs/named/templates/bin/named#L42-L49
I believe bash will still invoke the for loop, with an empty variable, because no files are found.
Problem is, bind9 is useful to use as a form of DNS caching. Other alternatives don't seem to work consistently:
Here is our config right now:
I would like to cut out the entire zones property if possible, thoughts?
The text was updated successfully, but these errors were encountered: