Skip to content

Commit 29c8a43

Browse files
authored
Merge pull request #43 from FHE3/fix-apt-conf-number
also pass check when opt_data is a number
2 parents aaa1f5b + a201be0 commit 29c8a43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apt/templates/apt_conf.jinja

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{%- endmacro -%}
1212
// This file is managed by salt
1313
{%- for opt, opt_data in data|dictsort -%}
14-
{%- if opt_data is string %}
14+
{%- if opt_data is string or opt_data is number %}
1515
{{ opt }} "{{ opt_data }}";
1616
{%- elif opt_data is mapping %}
1717
{{ opt }}

0 commit comments

Comments
 (0)