Skip to content

Commit

Permalink
Let dnsmasq.conf template work when not using addn-hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
rfairburn committed May 18, 2015
1 parent 2d97db3 commit 80d5490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnsmasq/files/dnsmasq.conf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
{%- endmacro %}

{%- set settings_items = settings.iteritems()|list %}
{%- if addn_hosts and not 'addn-hosts' in settings %}
{%- if addn_hosts is defined and not 'addn-hosts' in settings %}
{%- do settings_items.append(('addn-hosts', addn_hosts)) %}
{%- endif %}

Expand Down

0 comments on commit 80d5490

Please sign in to comment.