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

named-checkconf, named-checkzone and rndc reload for dynamic zones #125

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

Conversation

morgana2313
Copy link

This pull fixes #122 and #124.

@aboe76 aboe76 requested review from ryanwalder, alxwr and aanriot and removed request for ryanwalder and alxwr January 19, 2019 09:13
@aboe76
Copy link
Member

aboe76 commented Jan 19, 2019

@morgana2313 please take a look at the travis failures

Copy link
Contributor

@aanriot aanriot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm checking the Travis tests.

Copy link
Contributor

@aanriot aanriot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not able to test the behaviour of these changes at the moment but the diff looks ok. But a endif tag has to be added to fix Travis tests.

{# If we define RRs in pillar, we use the internal template to generate the zone file
otherwise, we fallback to the old behaviour and use the declared file
#}
{%- set zone_source = 'salt://bind/files/zone.jinja' if zone_records != {} else 'salt://' ~ map.zones_source_dir ~ '/' ~ file %}
{%- set serial_auto = salt['pillar.get']('bind:available_zones:' + zone + ':soa:serial', '') == 'auto' %}

{% if file and zone_data['type'] == 'master' -%}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Starting from here, a endif tag appears to be missing.

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.

Use named-checkzone to check zonefiles for syntax-errors
3 participants