Skip to content

Commit a201be0

Browse files
author
Simon Schneider
committed
also pass check when opt_data is a number
1 parent aaa1f5b commit a201be0

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)