Skip to content

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