瀏覽代碼

Fix rendering problem on Ubuntu18.04

tags/v0.2.0^2
N 5 年之前
父節點
當前提交
a35ec9271d
No account linked to committer's email address
共有 1 個文件被更改,包括 8 次插入6 次删除
  1. +8
    -6
      chrony/map.jinja

+ 8
- 6
chrony/map.jinja 查看文件

@@ -12,9 +12,11 @@
base='chrony'
) %}

-{# Debian distros check /etc/default/rcS to determine UTC setting #}
-{% if grains['os_family'] == "Debian" %}
- {% if salt['cmd.run']('grep UTC=no /etc/default/rcS', output_loglevel='quiet') %}
- {% do chrony['otherparams'].remove('rtconutc') %}
- {% endif %}
-{% endif %}
{# Debian distros check /etc/default/rcS to determine UTC setting #}
{% if grains['os_family'] == "Debian" %}
{% if salt['cmd.run']('grep UTC=no /etc/default/rcS', output_loglevel='quiet') %}
{%- if chrony['otherparams'] and 'rtconutc' in chrony['otherparams'] %}
{% do chrony['otherparams'].remove('rtconutc') %}
{%- endif %}
{% endif %}
{% endif %}

Loading…
取消
儲存