Skip to content

Commit

Permalink
Merge pull request #43 from FHE3/fix-apt-conf-number
Browse files Browse the repository at this point in the history
also pass check when opt_data is a number
  • Loading branch information
aboe76 authored May 15, 2019
2 parents aaa1f5b + a201be0 commit 29c8a43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apt/templates/apt_conf.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{%- endmacro -%}
// This file is managed by salt
{%- for opt, opt_data in data|dictsort -%}
{%- if opt_data is string %}
{%- if opt_data is string or opt_data is number %}
{{ opt }} "{{ opt_data }}";
{%- elif opt_data is mapping %}
{{ opt }}
Expand Down

0 comments on commit 29c8a43

Please sign in to comment.