-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
DNM: T12537: Migrate to BIND #3914
base: master
Are you sure you want to change the base?
Conversation
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThe DNS management configuration has undergone a significant overhaul, replacing the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant DNSManager
participant Bind9
User->>DNSManager: Request DNS Configuration
DNSManager->>Bind9: Install bind9 package
DNSManager->>Bind9: Check configuration syntax
Bind9-->>DNSManager: Syntax OK
DNSManager->>Bind9: Start named service
Bind9-->>DNSManager: Service Started
DNSManager-->>User: Configuration Applied Successfully
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
@coderabbitai review |
Actions performedReview triggered.
|
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.
Actionable comments posted: 1
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- modules/dns/manifests/init.pp (2 hunks)
Additional comments not posted (5)
modules/dns/manifests/init.pp (5)
5-7
: Package declaration forbind9
is correct.The configuration ensures that
bind9
is installed, which is necessary for the migration fromgdnsd
toBIND
.
8-9
: Package declaration forbind9-utils
is correct.The configuration ensures that
bind9-utils
is installed, which supports the mainbind9
package.
14-19
: Correct configuration forgit::clone
resource.The DNS repository is correctly cloned into
/etc/bind
, aligning with thebind9
setup. The dependency and notification management is properly configured.
22-24
: Correct configuration forexec
resource.The use of
named-checkzone
for syntax checking is appropriate forbind9
. The configuration management for service notifications and conditional execution is properly set.
28-32
: Service configuration fornamed
is correct.The
named
service is properly configured to be running with restart and status capabilities. Dependency management is correctly handled.
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.
I'm slightly concerned we don't absent the gdnsd package. What would happen if gdnsd + bind on the same host? That feels like it should cause unexpected conflicts
Companion for miraheze/puppet#3914. Do not merge one without the other!!
Companion for miraheze/puppet#3914. Do not merge one without the other!!
Companion for miraheze/puppet#3914. Do not merge one without the other!!
5710a0b
to
440f7d1
Compare
It would, however we can just uninstall gdnsd when we're ready for merging this. |
440f7d1
to
38feae3
Compare
38feae3
to
fa71bad
Compare
Companion for miraheze/puppet#3914. Do not merge one without the other!!
Companion for miraheze/puppet#3914. Do not merge one without the other!!
https://issue-tracker.miraheze.org/T12537