Explorar el Código

also pass check when opt_data is a number

tags/v0.7.0^2
Simon Schneider hace 5 años
padre
commit
a201be062e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      apt/templates/apt_conf.jinja

+ 1
- 1
apt/templates/apt_conf.jinja Ver fichero

@@ -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 }}

Cargando…
Cancelar
Guardar