Bladeren bron

Merge pull request #15 from noelmcloughlin/fixes

Fix rendering - regression
tags/v0.2.0
Niels Abspoel 5 jaren geleden
bovenliggende
commit
6603ab21c8
No account linked to committer's email address
1 gewijzigde bestanden met toevoegingen van 8 en 6 verwijderingen
  1. +8
    -6
      chrony/map.jinja

+ 8
- 6
chrony/map.jinja Bestand weergeven

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

Laden…
Annuleren
Opslaan