Skip to content
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

Split zones across multiple named.conf file #274

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

deligatedgeek
Copy link

The change is for spreading zones across multiple name.conf.x as well as the main named.conf file.
Added nameconfpath to zone.pp's class parameters, allowing it to be passed within zone data.
I used a reduce function to move the named.conf filename into the zone data, so the hiera data is shorter and cleaner.
I don't think this affects normal functionality.

dns::additional_zones:
  'named.conf.other':
    'adomain.org':
      'manage_file': false
      'manage_file_name': true
    'anotherdomian.com':
      'manage_file': false
      'manage_file_name': true
  'named.conf.more':
    'smoother.domain':
      'manage_file': false
      'manage_file_name': true

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

Successfully merging this pull request may close these issues.

1 participant