-
Notifications
You must be signed in to change notification settings - Fork 82
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
No support for chroot #40
Comments
Hi @inkblot, Do you have any idea if you plan to implement chroot suppor for your bind module ? Regards, |
I'm thinking about implementing this feature but I would like to discuss with you on the way to do it. where to put named config files ?RedHat family uses the
I prefer solution 1, but then how should we change the module's config file hierarchy ? Only for chroot mode ? for everybody in the next release ? Distributions specific stuff
I think we could either
Sorry for such a long paragraph :) Let me know if you have any idea about the chroot feature. Regards, |
Honestly, I haven't thought about this feature in a long time. I had looked over the Debian HowTo when I originally opened this issue, but did not pursue it further. I have not seen the RedHat setup script before. What RedHat package provides the Whatever the implementation is, I think that feature should be enabled/disabled using a simple |
The package is called
I totally agree. I'll manage to base changes only on |
I finally found some time to implement what we've talked about in PR #125 Here is a first draft on my forked repo. Before going further, I'd like to get your feedback on the following points:
Note: this draft does not work on Debian for now, due to an ordering error between Regards, |
Any news on your side ? Have you been able to checkout draft ? Regards, |
I'm taking a look now. Sorry for the delay. |
In spirit, this looks like a very good solution. The things that I would like to see amended are all small details. The hiera hierarchy is not hierarchical. I have some local changes that fix that, but it is mostly a stylistic issue. Any sub categories of The I'm concerned about tight coupling in the tests. For example these lines from
There are two distinct things being asserted here in unison. First that certain conditions are met when I would like to take some more time to look at this work again later. Thank you very much for your effort. |
Thank you for your answer.
I'll try to submit a new draft including your feedback so that we could go further in feedback and code review.
Thank you :) Have a nice day, |
Hi @inkblot, I've updated my forked repo based on your suggestions. Here are additional notes:
For further contributions and adjustments should I open a pull request ? Regards, |
Little update on that one, posted a month ago :) |
Sorry for the long lapse in communication. I am trying out the feat/chroot branch now. The code changes look good. I just have a minor change to the hiera data that I would like to make. If everything works out, I'd like to merge the work. |
I've noticed a couple of things while attempting to apply the changes with a chroot on Debian.
|
I'm trying to decide whether that second point is worthwhile or not. There are some complications related to provisioning vs. maintenance. Existing dynamic zones on a maintained server would have to be frozen before the files are moved, but that would fail entirely during provisioning of a new server. It would have to happen before any It's a corner case. I think I've talked myself into ignoring it for now. |
I have included the chroot work in version 7.4.0 published on the Puppet Forge. I really appreciate all the hard work that you put into this and your patience in dealing with me. |
Wow !! Sorry for the delay, I've been quite busy. Thank you for your review and your fixes. |
No description provided.
The text was updated successfully, but these errors were encountered: