Browse Source

also pass check when opt_data is a number

tags/v0.7.0^2
Simon Schneider 5 years ago
parent
commit
a201be062e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      apt/templates/apt_conf.jinja

+ 1
- 1
apt/templates/apt_conf.jinja View File

{%- endmacro -%} {%- endmacro -%}
// This file is managed by salt // This file is managed by salt
{%- for opt, opt_data in data|dictsort -%} {%- 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 }}"; {{ opt }} "{{ opt_data }}";
{%- elif opt_data is mapping %} {%- elif opt_data is mapping %}
{{ opt }} {{ opt }}

Loading…
Cancel
Save