-
Notifications
You must be signed in to change notification settings - Fork 116
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
base: master
Are you sure you want to change the base?
Conversation
@morgana2313 please take a look at the travis failures |
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 checking the Travis tests.
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 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' -%} |
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.
Starting from here, a endif tag appears to be missing.
Fix missing endif tag
This pull fixes #122 and #124.