Skip to content

Conversation

MEschenbacher
Copy link

@MEschenbacher MEschenbacher commented May 12, 2021

TODO

  • documentation
  • examples

@MEschenbacher MEschenbacher changed the title Implement sections remote-control and pattern and a few small bugfixes WIP: Implement sections remote-control and pattern and a few small bugfixes May 12, 2021
@zorun
Copy link
Owner

zorun commented May 13, 2021

It looks good. nsd_local_remote_control_config is a bit unfortunate but it's consistent with the rest.

Why do you need a "quoteless" variant of the template macro?

Also, if I understand correctly, you are using this on an OS other than Debian? Feel free to update meta/main.yml accordingly.

@MEschenbacher MEschenbacher force-pushed the sections branch 2 times, most recently from bb2eca7 to 436d3fb Compare May 14, 2021 09:20
this commit introduces a few changes namely:

- a new macro which prints values without quotes (required for patterns)
- the configuration files and zone files are no longer validated since
  they depend on one another and will fail to validate in case of
  changes to one file which depends on a not yet written change of
  another file
@MEschenbacher
Copy link
Author

I rewrote the new sections but the still require a quoteless version. The quoteless version is required because there are a few options which take more than one argument.

I'll think about it some more, do some more testing. Maybe I can strip this monster down to a more readable version.

@MEschenbacher
Copy link
Author

Has been working fine so far. I'm still unhappy about the zone.include_pattern vs. include-pattern: ... naming conflict. It is quite common to replace all dashes in configuration options with underscores but this role has been able to avoid that so far I'd like to keep it that way.

@zorun
Copy link
Owner

zorun commented Dec 30, 2022

Hi @MEschenbacher , I hadn't looked at this recently. What is the status, is it still WIP?

I suggest submitting the FreeBSD changes separately, that's much easier to review/merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants